 |
m2mb API docs
25.21.002
m2mb API sets documentation
|
Go to the documentation of this file.
28 #ifndef M2M_M2MB_UART_API_H
29 #define M2M_M2MB_UART_API_H
76 M2MB_UART_IOCTL_NOF_REQ
121 M2MB_UART_STOP_BITS_MAX
136 M2MB_UART_BITS_PER_CHAR_MAX
INT32 m2mb_uart_close(INT32 fd)
m2mb_uart_close closes a UART device.
UART ioctl configuration.
Definition: m2mb_uart.h:180
BOOLEAN loopback_mode
Definition: m2mb_uart.h:187
Definition: m2mb_uart.h:133
M2MB_UART_PARITY_E parity_mode
Definition: m2mb_uart.h:184
M2MB_UART_BITS_PER_CHAR_E
UART number of bits per character.
Definition: m2mb_uart.h:130
M2MB_UART_IOCTL_REQUEST
UART configuration requests.
Definition: m2mb_uart.h:43
Definition: m2mb_uart.h:159
Definition: m2mb_uart.h:68
Definition: m2mb_uart.h:45
Definition: m2mb_uart.h:71
Definition: m2mb_uart.h:90
INT32 m2mb_uart_open(const CHAR *path, INT32 flags,...)
m2mb_uart_open opens a UART device.
Definition: m2mb_uart.h:160
Definition: m2mb_uart.h:132
Definition: m2mb_uart.h:61
Definition: m2mb_uart.h:46
Definition: m2mb_uart.h:56
Definition: m2mb_uart.h:89
SSIZE_T m2mb_uart_read(INT32 fd, void *buf, SIZE_T nbyte)
m2mb_uart_read reads data from an open UART device.
M2MB_UART_STOP_BITS_E stop_bits
Definition: m2mb_uart.h:185
M2MB_UART_BITS_PER_CHAR_E bits_per_char
Definition: m2mb_uart.h:186
UINT16 rx_timeout_ms
Definition: m2mb_uart.h:189
Definition: m2mb_uart.h:52
M2MB_UART_PIN_VALUE_E
UART pin voltage value.
Definition: m2mb_uart.h:157
Definition: m2mb_uart.h:147
M2MB_UART_STOP_BITS_E
UART number of stop bits.
Definition: m2mb_uart.h:115
Definition: m2mb_uart.h:60
Definition: m2mb_uart.h:118
void * cb_data
Definition: m2mb_uart.h:191
Definition: m2mb_uart.h:120
M2MB_UART_FCTL_E flow_control
Definition: m2mb_uart.h:183
Definition: m2mb_uart.h:119
Definition: m2mb_uart.h:146
void(* m2mb_uart_ind_callback)(INT32 fd, M2MB_UART_IND_E uart_event, UINT16 resp_size, void *resp_struct, void *userdata)
Transmit and receive operation callback type.
Definition: m2mb_uart.h:172
Definition: m2mb_uart.h:102
Definition: m2mb_uart.h:103
Definition: m2mb_uart.h:59
Definition: m2mb_uart.h:63
Definition: m2mb_uart.h:53
m2mb_uart_ind_callback cb_fn
Definition: m2mb_uart.h:190
UINT16 tx_timeout_ms
Definition: m2mb_uart.h:188
Definition: m2mb_uart.h:74
Definition: m2mb_uart.h:70
SSIZE_T m2mb_uart_write(INT32 fd, const void *buf, SIZE_T nbyte)
m2mb_uart_write writes data to an open UART device.
INT32 m2mb_uart_ioctl(INT32 fd, INT32 request,...)
m2mb_uart_ioctl configures an open UART device.
Definition: m2mb_uart.h:49
Definition: m2mb_uart.h:62
M2MB_UART_IND_E
UART event type.
Definition: m2mb_uart.h:144
Definition: m2mb_uart.h:55
Definition: m2mb_uart.h:105
Definition: m2mb_uart.h:57
Definition: m2mb_uart.h:135
Definition: m2mb_uart.h:69
Definition: m2mb_uart.h:51
Definition: m2mb_uart.h:117
Definition: m2mb_uart.h:134
Definition: m2mb_uart.h:73
Definition: m2mb_uart.h:65
Definition: m2mb_uart.h:75
Definition: m2mb_uart.h:104
M2MB_UART_FCTL_E
UART flow control type.
Definition: m2mb_uart.h:87
Definition: m2mb_uart.h:67
Definition: m2mb_uart.h:66
Definition: m2mb_uart.h:48
Definition: m2mb_uart.h:72
Definition: m2mb_uart.h:47
Definition: m2mb_uart.h:50
Definition: m2mb_uart.h:148
Definition: m2mb_uart.h:58
UINT32 baud_rate
Definition: m2mb_uart.h:182
Definition: m2mb_uart.h:64
Definition: m2mb_uart.h:54
M2MB_UART_PARITY_E
UART parity mode.
Definition: m2mb_uart.h:100