 |
m2mb API docs
30.00.007
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
74 M2MB_UART_IOCTL_NOF_REQ
119 M2MB_UART_STOP_BITS_MAX
134 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:178
BOOLEAN loopback_mode
Definition: m2mb_uart.h:185
Definition: m2mb_uart.h:131
M2MB_UART_PARITY_E parity_mode
Definition: m2mb_uart.h:182
M2MB_UART_BITS_PER_CHAR_E
UART number of bits per character.
Definition: m2mb_uart.h:128
M2MB_UART_IOCTL_REQUEST
UART configuration requests.
Definition: m2mb_uart.h:43
Definition: m2mb_uart.h:157
Definition: m2mb_uart.h:68
Definition: m2mb_uart.h:45
Definition: m2mb_uart.h:71
Definition: m2mb_uart.h:88
INT32 m2mb_uart_open(const CHAR *path, INT32 flags,...)
m2mb_uart_open opens a UART device.
Definition: m2mb_uart.h:158
Definition: m2mb_uart.h:130
Definition: m2mb_uart.h:61
Definition: m2mb_uart.h:46
Definition: m2mb_uart.h:56
Definition: m2mb_uart.h:87
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:183
M2MB_UART_BITS_PER_CHAR_E bits_per_char
Definition: m2mb_uart.h:184
UINT16 rx_timeout_ms
Definition: m2mb_uart.h:187
Definition: m2mb_uart.h:52
M2MB_UART_PIN_VALUE_E
UART pin voltage value.
Definition: m2mb_uart.h:155
Definition: m2mb_uart.h:145
M2MB_UART_STOP_BITS_E
UART number of stop bits.
Definition: m2mb_uart.h:113
Definition: m2mb_uart.h:60
Definition: m2mb_uart.h:116
void * cb_data
Definition: m2mb_uart.h:189
Definition: m2mb_uart.h:118
M2MB_UART_FCTL_E flow_control
Definition: m2mb_uart.h:181
Definition: m2mb_uart.h:117
Definition: m2mb_uart.h:144
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:170
Definition: m2mb_uart.h:100
Definition: m2mb_uart.h:101
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:188
UINT16 tx_timeout_ms
Definition: m2mb_uart.h:186
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:142
Definition: m2mb_uart.h:55
Definition: m2mb_uart.h:103
Definition: m2mb_uart.h:57
Definition: m2mb_uart.h:133
Definition: m2mb_uart.h:69
Definition: m2mb_uart.h:51
Definition: m2mb_uart.h:115
Definition: m2mb_uart.h:132
Definition: m2mb_uart.h:73
Definition: m2mb_uart.h:65
Definition: m2mb_uart.h:102
M2MB_UART_FCTL_E
UART flow control type.
Definition: m2mb_uart.h:85
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:146
Definition: m2mb_uart.h:58
UINT32 baud_rate
Definition: m2mb_uart.h:180
Definition: m2mb_uart.h:64
Definition: m2mb_uart.h:54
M2MB_UART_PARITY_E
UART parity mode.
Definition: m2mb_uart.h:98