FreeCalypso > hg > fc-magnetite
view cdg211/cdginc/p_uart.h @ 295:1aa8cab15e14
components/frame_na7_db_{fl,ir} created as an experiment
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 21 Oct 2017 02:50:37 +0000 |
parents | 56abf6cf8a0b |
children |
line wrap: on
line source
/* +--------------------------------------------------------------------------+ | PROJECT : PROTOCOL STACK | | FILE : p_uart.h | | SOURCE : "__out__\g23m_dfile\prim\uart.pdf" | | LastModified : "2002-03-11" | | IdAndVersion : "8441.117.99.014" | | SrcFileTime : "Tue Nov 30 11:21:48 2004" | | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:16 2007 | | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | +--------------------------------------------------------------------------+ */ /* PRAGMAS * PREFIX : NONE * COMPATIBILITY_DEFINES : NO (require PREFIX) * ALWAYS_ENUM_IN_VAL_FILE: NO * ENABLE_GROUP: NO * CAPITALIZE_TYPENAME: NO */ #ifndef P_UART_H #define P_UART_H #define CDG_ENTER__P_UART_H #define CDG_ENTER__FILENAME _P_UART_H #define CDG_ENTER__P_UART_H__FILE_TYPE CDGINC #define CDG_ENTER__P_UART_H__LAST_MODIFIED _2002_03_11 #define CDG_ENTER__P_UART_H__ID_AND_VERSION _8441_117_99_014 #define CDG_ENTER__P_UART_H__SRC_FILE_TIME _Tue_Nov_30_11_21_48_2004 #include "CDG_ENTER.h" #undef CDG_ENTER__P_UART_H #undef CDG_ENTER__FILENAME #include "p_uart.val" #ifndef __T_comPar__ #define __T_comPar__ /* * Parameters of serial link * CCDGEN:WriteStruct_Count==2206 */ typedef struct { U8 speed; /*< 0: 1> baud rate */ U8 bpc; /*< 1: 1> bits per character */ U8 nsb; /*< 2: 1> stop bits */ U8 parity; /*< 3: 1> parity of serial link */ U8 flow_rx; /*< 4: 1> flow control mode RX */ U8 flow_tx; /*< 5: 1> flow control mode TX */ U8 xon_valid; /*< 6: 1> indicator whether xon is valid */ U8 xon; /*< 7: 1> XOn character for XON/XOFF flow control */ U8 xoff_valid; /*< 8: 1> indicator whether xoff is valid */ U8 xoff; /*< 9: 1> XOff character for XON/XOFF flow control */ U8 esc_valid; /*< 10: 1> indicator whether esc_char and esc_gp are valid */ U8 esc_char; /*< 11: 1> escape character */ U16 esc_gp; /*< 12: 2> guard period */ U8 _align0; /*< 14: 1> alignment */ U8 _align1; /*< 15: 1> alignment */ } T_comPar; #endif /* * End of substructure section, begin of primitive definition section */ #ifndef __T_UART_PARAMETERS_REQ__ #define __T_UART_PARAMETERS_REQ__ /* * * CCDGEN:WriteStruct_Count==2207 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ T_comPar comPar; /*< 4: 16> Parameters of serial link */ } T_UART_PARAMETERS_REQ; #endif #ifndef __T_UART_PARAMETERS_CNF__ #define __T_UART_PARAMETERS_CNF__ /* * * CCDGEN:WriteStruct_Count==2208 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_PARAMETERS_CNF; #endif #ifndef __T_UART_PARAMETERS_IND__ #define __T_UART_PARAMETERS_IND__ /* * * CCDGEN:WriteStruct_Count==2209 */ typedef struct { U8 uart_instances; /*< 0: 1> number of UART instances */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_PARAMETERS_IND; #endif #ifndef __T_UART_DTI_REQ__ #define __T_UART_DTI_REQ__ /* * * CCDGEN:WriteStruct_Count==2210 */ typedef struct { U8 dti_conn; /*< 0: 1> DTI connect */ U8 device; /*< 1: 1> device number */ U8 dlci; /*< 2: 1> data link connection identifier */ U8 direction; /*< 3: 1> direction of the DTI link */ U32 link_id; /*< 4: 4> identifier of DTI connection */ U32 entity_name; /*< 8: 4> communication entity name */ } T_UART_DTI_REQ; #endif #ifndef __T_UART_DTI_CNF__ #define __T_UART_DTI_CNF__ /* * * CCDGEN:WriteStruct_Count==2211 */ typedef struct { U8 dti_conn; /*< 0: 1> DTI connect */ U8 device; /*< 1: 1> device number */ U8 dlci; /*< 2: 1> data link connection identifier */ U8 _align0; /*< 3: 1> alignment */ } T_UART_DTI_CNF; #endif #ifndef __T_UART_DTI_IND__ #define __T_UART_DTI_IND__ /* * * CCDGEN:WriteStruct_Count==2212 */ typedef struct { U8 dti_conn; /*< 0: 1> DTI connect */ U8 device; /*< 1: 1> device number */ U8 dlci; /*< 2: 1> data link connection identifier */ U8 _align0; /*< 3: 1> alignment */ } T_UART_DTI_IND; #endif #ifndef __T_UART_DISABLE_REQ__ #define __T_UART_DISABLE_REQ__ /* * * CCDGEN:WriteStruct_Count==2213 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_DISABLE_REQ; #endif #ifndef __T_UART_DISABLE_CNF__ #define __T_UART_DISABLE_CNF__ /* * * CCDGEN:WriteStruct_Count==2214 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_DISABLE_CNF; #endif #ifndef __T_UART_RING_REQ__ #define __T_UART_RING_REQ__ /* * * CCDGEN:WriteStruct_Count==2215 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 line_state; /*< 2: 1> state of line */ U8 _align0; /*< 3: 1> alignment */ } T_UART_RING_REQ; #endif #ifndef __T_UART_RING_CNF__ #define __T_UART_RING_CNF__ /* * * CCDGEN:WriteStruct_Count==2216 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 _align0; /*< 2: 1> alignment */ U8 _align1; /*< 3: 1> alignment */ } T_UART_RING_CNF; #endif #ifndef __T_UART_DCD_REQ__ #define __T_UART_DCD_REQ__ /* * * CCDGEN:WriteStruct_Count==2217 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 line_state; /*< 2: 1> state of line */ U8 _align0; /*< 3: 1> alignment */ } T_UART_DCD_REQ; #endif #ifndef __T_UART_DCD_CNF__ #define __T_UART_DCD_CNF__ /* * * CCDGEN:WriteStruct_Count==2218 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 _align0; /*< 2: 1> alignment */ U8 _align1; /*< 3: 1> alignment */ } T_UART_DCD_CNF; #endif #ifndef __T_UART_ESCAPE_REQ__ #define __T_UART_ESCAPE_REQ__ /* * * CCDGEN:WriteStruct_Count==2219 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 detection; /*< 2: 1> escape sequence detection */ U8 _align0; /*< 3: 1> alignment */ } T_UART_ESCAPE_REQ; #endif #ifndef __T_UART_ESCAPE_CNF__ #define __T_UART_ESCAPE_CNF__ /* * * CCDGEN:WriteStruct_Count==2220 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 _align0; /*< 2: 1> alignment */ U8 _align1; /*< 3: 1> alignment */ } T_UART_ESCAPE_CNF; #endif #ifndef __T_UART_DETECTED_IND__ #define __T_UART_DETECTED_IND__ /* * * CCDGEN:WriteStruct_Count==2221 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 cause; /*< 2: 1> cause of indication */ U8 _align0; /*< 3: 1> alignment */ } T_UART_DETECTED_IND; #endif #ifndef __T_UART_ERROR_IND__ #define __T_UART_ERROR_IND__ /* * * CCDGEN:WriteStruct_Count==2222 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 error; /*< 2: 1> error code */ U8 _align0; /*< 3: 1> alignment */ } T_UART_ERROR_IND; #endif #ifndef __T_UART_MUX_START_REQ__ #define __T_UART_MUX_START_REQ__ /* * * CCDGEN:WriteStruct_Count==2223 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 mode; /*< 1: 1> transparency mechanism */ U8 frame_type; /*< 2: 1> type of frame */ U8 _align0; /*< 3: 1> alignment */ U16 n1; /*< 4: 2> maximum frame size */ U8 t1; /*< 6: 1> acknowledgement timer */ U8 n2; /*< 7: 1> maximum numer of retransmissions */ U8 t2; /*< 8: 1> response timer for the multiplexer control channel */ U8 t3; /*< 9: 1> wake up response timer */ U8 _align1; /*< 10: 1> alignment */ U8 _align2; /*< 11: 1> alignment */ } T_UART_MUX_START_REQ; #endif #ifndef __T_UART_MUX_START_CNF__ #define __T_UART_MUX_START_CNF__ /* * * CCDGEN:WriteStruct_Count==2224 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_MUX_START_CNF; #endif #ifndef __T_UART_MUX_DLC_ESTABLISH_IND__ #define __T_UART_MUX_DLC_ESTABLISH_IND__ /* * * CCDGEN:WriteStruct_Count==2225 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 convergence; /*< 2: 1> convergence layer */ U8 _align0; /*< 3: 1> alignment */ U16 n1; /*< 4: 2> maximum frame size */ U8 service; /*< 6: 1> service on DLC */ U8 _align1; /*< 7: 1> alignment */ } T_UART_MUX_DLC_ESTABLISH_IND; #endif #ifndef __T_UART_MUX_DLC_ESTABLISH_RES__ #define __T_UART_MUX_DLC_ESTABLISH_RES__ /* * * CCDGEN:WriteStruct_Count==2226 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U16 n1; /*< 2: 2> maximum frame size */ } T_UART_MUX_DLC_ESTABLISH_RES; #endif #ifndef __T_UART_MUX_DLC_RELEASE_REQ__ #define __T_UART_MUX_DLC_RELEASE_REQ__ /* * * CCDGEN:WriteStruct_Count==2227 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 _align0; /*< 2: 1> alignment */ U8 _align1; /*< 3: 1> alignment */ } T_UART_MUX_DLC_RELEASE_REQ; #endif #ifndef __T_UART_MUX_DLC_RELEASE_IND__ #define __T_UART_MUX_DLC_RELEASE_IND__ /* * * CCDGEN:WriteStruct_Count==2228 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 dlci; /*< 1: 1> data link connection identifier */ U8 _align0; /*< 2: 1> alignment */ U8 _align1; /*< 3: 1> alignment */ } T_UART_MUX_DLC_RELEASE_IND; #endif #ifndef __T_UART_MUX_SLEEP_REQ__ #define __T_UART_MUX_SLEEP_REQ__ /* * * CCDGEN:WriteStruct_Count==2229 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_MUX_SLEEP_REQ; #endif #ifndef __T_UART_MUX_SLEEP_IND__ #define __T_UART_MUX_SLEEP_IND__ /* * * CCDGEN:WriteStruct_Count==2230 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_MUX_SLEEP_IND; #endif #ifndef __T_UART_MUX_WAKEUP_REQ__ #define __T_UART_MUX_WAKEUP_REQ__ /* * * CCDGEN:WriteStruct_Count==2231 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_MUX_WAKEUP_REQ; #endif #ifndef __T_UART_MUX_WAKEUP_IND__ #define __T_UART_MUX_WAKEUP_IND__ /* * * CCDGEN:WriteStruct_Count==2232 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_MUX_WAKEUP_IND; #endif #ifndef __T_UART_MUX_CLOSE_REQ__ #define __T_UART_MUX_CLOSE_REQ__ /* * * CCDGEN:WriteStruct_Count==2233 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_MUX_CLOSE_REQ; #endif #ifndef __T_UART_MUX_CLOSE_IND__ #define __T_UART_MUX_CLOSE_IND__ /* * * CCDGEN:WriteStruct_Count==2234 */ typedef struct { U8 device; /*< 0: 1> device number */ U8 _align0; /*< 1: 1> alignment */ U8 _align1; /*< 2: 1> alignment */ U8 _align2; /*< 3: 1> alignment */ } T_UART_MUX_CLOSE_IND; #endif #ifndef __T_UART_DRIVER_SENT_IND__ #define __T_UART_DRIVER_SENT_IND__ /* * * CCDGEN:WriteStruct_Count==2235 */ typedef struct { U32 devId; /*< 0: 4> device ID */ } T_UART_DRIVER_SENT_IND; #endif #ifndef __T_UART_DRIVER_RECEIVED_IND__ #define __T_UART_DRIVER_RECEIVED_IND__ /* * * CCDGEN:WriteStruct_Count==2236 */ typedef struct { U32 devId; /*< 0: 4> device ID */ } T_UART_DRIVER_RECEIVED_IND; #endif #ifndef __T_UART_DRIVER_FLUSHED_IND__ #define __T_UART_DRIVER_FLUSHED_IND__ /* * * CCDGEN:WriteStruct_Count==2237 */ typedef struct { U32 devId; /*< 0: 4> device ID */ } T_UART_DRIVER_FLUSHED_IND; #endif #ifndef __T_UART_DRIVER_CONNECT_IND__ #define __T_UART_DRIVER_CONNECT_IND__ /* * * CCDGEN:WriteStruct_Count==2238 */ typedef struct { U32 devId; /*< 0: 4> device ID */ } T_UART_DRIVER_CONNECT_IND; #endif #ifndef __T_UART_DRIVER_DISCONNECT_IND__ #define __T_UART_DRIVER_DISCONNECT_IND__ /* * * CCDGEN:WriteStruct_Count==2239 */ typedef struct { U32 devId; /*< 0: 4> device ID */ } T_UART_DRIVER_DISCONNECT_IND; #endif #ifndef __T_UART_DRIVER_CLEAR_IND__ #define __T_UART_DRIVER_CLEAR_IND__ /* * * CCDGEN:WriteStruct_Count==2240 */ typedef struct { U32 devId; /*< 0: 4> device ID */ } T_UART_DRIVER_CLEAR_IND; #endif #include "CDG_LEAVE.h" #endif