Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
naibrd_ser.h
Go to the documentation of this file.
1
5{
10 NAIBRD_SER_PROTOCOL_ASYNC_GPO = 0x0010u, /* Only with SC3 FPGA revision greater than 1.0 */
11 NAIBRD_SER_PROTOCOL_ASYNC_GPI = 0x0020u, /* Only with SC3 FPGA revision greater than 1.0 */
47{
48 NAIBRD_SER_ENCODING_NONE = 0x0000u, /* No encoding is actually NRZ by default */
49 NAIBRD_SER_ENCODING_NRZI = 0x2000u, /* Future Enhanced Feature */
50 NAIBRD_SER_ENCODING_FM0 = 0x4000u, /* Future Enhanced Feature */
51 NAIBRD_SER_ENCODING_FM1 = 0x5000u, /* Future Enhanced Feature */
52 NAIBRD_SER_ENCODING_MANCH = 0x6000u, /* GE Thomas */
53 NAIBRD_SER_ENCODING_MANCH_IEEE = 0x7000u /* IEEE 802.3 */
67{
68 /* Communication Statuses */
111 /* FIFO Statuses */
naibrd_ser_protocol
Definition naibrd_ser.h:5
@ NAIBRD_SER_PROTOCOL_BISYNC
Definition naibrd_ser.h:8
@ NAIBRD_SER_PROTOCOL_HDLC
Definition naibrd_ser.h:9
@ NAIBRD_SER_PROTOCOL_ASYNC_GPI
Definition naibrd_ser.h:11
@ NAIBRD_SER_PROTOCOL_ASYNC_GPO
Definition naibrd_ser.h:10
@ NAIBRD_SER_PROTOCOL_MONOSYNC
Definition naibrd_ser.h:7
@ NAIBRD_SER_PROTOCOL_ASYNC
Definition naibrd_ser.h:6
naibrd_ser_chan_mapped_status_type
Definition naibrd_ser.h:123
@ NAIBRD_SER_STATUS_SUMMARY_RX_AVAIL_LATCHED
Definition naibrd_ser.h:126
@ NAIBRD_SER_STATUS_BIT_LATCHED
Definition naibrd_ser.h:124
@ NAIBRD_SER_STATUS_SUMMARY_RX_AVAIL_REALTIME
Definition naibrd_ser.h:127
@ NAIBRD_SER_STATUS_BIT_REALTIME
Definition naibrd_ser.h:125
naibrd_ser_event_mapped_category_type
Definition naibrd_ser.h:59
@ NAIBRD_SER_EVENT_MAP_FIFO
Definition naibrd_ser.h:61
@ NAIBRD_SER_EVENT_MAP_COMM
Definition naibrd_ser.h:60
naibrd_ser_stop_bits
Definition naibrd_ser.h:28
@ NAIBRD_SER_STOP_BITS_1
Definition naibrd_ser.h:29
@ NAIBRD_SER_STOP_BITS_2
Definition naibrd_ser.h:30
naibrd_ser_event_mapped_status_type
Definition naibrd_ser.h:67
@ NAIBRD_SER_EVENT_MAP_STATUS_FIFO_LOW_WATERMARK_REALTIME
Definition naibrd_ser.h:115
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_GPI2_LATCHED
Definition naibrd_ser.h:103
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_BIT_PASSED_REALTIME
Definition naibrd_ser.h:108
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CHANNEL_CONFIGURED_REALTIME
Definition naibrd_ser.h:110
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_RXBUF_ALMOST_FULL_REALTIME
Definition naibrd_ser.h:72
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_TIMEOUT_REALTIME
Definition naibrd_ser.h:90
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CTS_RISE_REALTIME
Definition naibrd_ser.h:96
@ NAIBRD_SER_EVENT_MAP_STATUS_FIFO_RX_EMPTY_REALTIME
Definition naibrd_ser.h:116
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_RXAVAILABLE_REALTIME
Definition naibrd_ser.h:78
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_GPI1_REALTIME
Definition naibrd_ser.h:100
@ NAIBRD_SER_EVENT_MAP_STATUS_FIFO_TX_FULL_REALTIME
Definition naibrd_ser.h:117
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_HIGH_WATERMARK_REALTIME
Definition naibrd_ser.h:82
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_RXOVERRUN_LATCHED
Definition naibrd_ser.h:79
@ NAIBRD_SER_EVENT_MAP_STATUS_FIFO_RXBUF_ALMOST_FULL_REALTIME
Definition naibrd_ser.h:112
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_SYNCDETECT_LATCHED
Definition naibrd_ser.h:93
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_TIMEOUT_LATCHED
Definition naibrd_ser.h:89
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_GPI2_REALTIME
Definition naibrd_ser.h:104
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CHANNEL_CONFIGURED_LATCHED
Definition naibrd_ser.h:109
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CTS_FALL_LATCHED
Definition naibrd_ser.h:97
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CTS_REALTIME
Definition naibrd_ser.h:102
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CRC_ERROR_REALTIME
Definition naibrd_ser.h:74
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_TXBUF_ALMOST_EMPTY_LATCHED
Definition naibrd_ser.h:85
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_GAP_TIME_OUT_REALTIME
Definition naibrd_ser.h:106
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CTS_RISE_LATCHED
Definition naibrd_ser.h:95
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_HIGH_WATERMARK_LATCHED
Definition naibrd_ser.h:81
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_PARITY_ERROR_LATCHED
Definition naibrd_ser.h:69
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CRC_ERROR_LATCHED
Definition naibrd_ser.h:73
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CTS_FALL_REALTIME
Definition naibrd_ser.h:98
@ NAIBRD_SER_EVENT_MAP_STATUS_FIFO_HIGH_WATERMARK_REALTIME
Definition naibrd_ser.h:114
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_LOW_WATERMARK_LATCHED
Definition naibrd_ser.h:83
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_TXCOMPLETE_REALTIME
Definition naibrd_ser.h:88
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_PARITY_ERROR_REALTIME
Definition naibrd_ser.h:70
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_RXCOMPLETE_LATCHED
Definition naibrd_ser.h:75
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_RXAVAILABLE_LATCHED
Definition naibrd_ser.h:77
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_RXBUF_ALMOST_FULL_LATCHED
Definition naibrd_ser.h:71
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_LOW_WATERMARK_REALTIME
Definition naibrd_ser.h:84
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_BREAK_ABORT_REALTIME
Definition naibrd_ser.h:92
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_RXOVERRUN_REALTIME
Definition naibrd_ser.h:80
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_SYNCDETECT_REALTIME
Definition naibrd_ser.h:94
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_TXBUF_ALMOST_EMPTY_REALTIME
Definition naibrd_ser.h:86
@ NAIBRD_SER_EVENT_MAP_STATUS_FIFO_TXBUF_ALMOST_EMPTY_REALTIME
Definition naibrd_ser.h:113
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_GAP_TIME_OUT_LATCHED
Definition naibrd_ser.h:105
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_BIT_PASSED_LATCHED
Definition naibrd_ser.h:107
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_CTS_LATCHED
Definition naibrd_ser.h:101
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_BREAK_ABORT_LATCHED
Definition naibrd_ser.h:91
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_RXCOMPLETE_REALTIME
Definition naibrd_ser.h:76
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_TXCOMPLETE_LATCHED
Definition naibrd_ser.h:87
@ NAIBRD_SER_EVENT_MAP_STATUS_COMM_GPI1_LATCHED
Definition naibrd_ser.h:99
enum naibrd_ser_protocol naibrd_ser_protocol_t
enum naibrd_ser_event_mapped_status_type naibrd_ser_event_mapped_status_type_t
enum naibrd_ser_parity naibrd_ser_parity_t
enum naibrd_ser_chan_mapped_status_type naibrd_ser_chan_mapped_status_type_t
naibrd_ser_parity
Definition naibrd_ser.h:36
@ NAIBRD_SER_PARITY_SPACE
Definition naibrd_ser.h:38
@ NAIBRD_SER_PARITY_MARK
Definition naibrd_ser.h:41
@ NAIBRD_SER_PARITY_EVEN
Definition naibrd_ser.h:40
@ NAIBRD_SER_PARITY_ODD
Definition naibrd_ser.h:39
@ NAIBRD_SER_PARITY_NONE
Definition naibrd_ser.h:37
naibrd_ser_data_bits
Definition naibrd_ser.h:17
@ NAIBRD_SER_DATA_BITS_7
Definition naibrd_ser.h:20
@ NAIBRD_SER_DATA_BITS_9
Definition naibrd_ser.h:22
@ NAIBRD_SER_DATA_BITS_5
Definition naibrd_ser.h:18
@ NAIBRD_SER_DATA_BITS_6
Definition naibrd_ser.h:19
@ NAIBRD_SER_DATA_BITS_8
Definition naibrd_ser.h:21
enum naibrd_ser_data_bits naibrd_ser_data_bits_t
enum naibrd_ser_stop_bits naibrd_ser_stop_bits_t
enum naibrd_ser_event_mapped_category_type naibrd_ser_event_mapped_category_type_t
naibrd_ser_encoding
Definition naibrd_ser.h:47
@ NAIBRD_SER_ENCODING_FM1
Definition naibrd_ser.h:51
@ NAIBRD_SER_ENCODING_NRZI
Definition naibrd_ser.h:49
@ NAIBRD_SER_ENCODING_FM0
Definition naibrd_ser.h:50
@ NAIBRD_SER_ENCODING_MANCH
Definition naibrd_ser.h:52
@ NAIBRD_SER_ENCODING_MANCH_IEEE
Definition naibrd_ser.h:53
@ NAIBRD_SER_ENCODING_NONE
Definition naibrd_ser.h:48
enum naibrd_ser_encoding naibrd_ser_encoding_t