Modules | |
UART_MODE | |
UART_PORT | |
Functions | |
IOTHINX_ERR | ioThinx_Uart_Open (uint32_t slot, uint32_t port, uint32_t mode, uint32_t baudrate, int *fd) |
Sample Code:
uart.c
IOTHINX_ERR ioThinx_Uart_Open | ( | uint32_t | slot, |
uint32_t | port, | ||
uint32_t | mode, | ||
uint32_t | baudrate, | ||
int * | fd | ||
) |
[in] | slot | Slot number of the module. |
[in] | port | Specifies the UART port. |
[in] | mode | Stores the UART mode. |
[in] | baudrate | Stores the Baud Rate. |
[out] | fd | A pointer that stores the file descriptor of the opened UART port. |