![]() |
MT2523 API Reference
LinkIt SDK v4
|
| enum hal_uart_baudrate_t |
This enum defines baud rate of the UART frame.
This enum defines the UART event when an interrupt occurs.
| enum hal_uart_parity_t |
| enum hal_uart_port_t |
UART port index There are total of four UART ports.
Only UART0 and UART1 support hardware flow control.
| UART port | Hardware Flow Control |
|---|---|
| UART0 | V |
| UART1 | V |
| UART2 | X |
| UART3 | X |
| Enumerator | |
|---|---|
| HAL_UART_0 |
UART port 0. |
| HAL_UART_1 |
UART port 1. |
| HAL_UART_2 |
UART port 2. |
| HAL_UART_3 |
UART port 3. |
| HAL_UART_MAX |
The total number of UART ports (invalid UART port number). |
| enum hal_uart_status_t |
This enum defines return status of the UART HAL public API.
User should check return value after calling these APIs.
| enum hal_uart_stop_bit_t |
This enum defines word length of the UART frame.