|
void | hal_uart_configure_default (hal_uart_config_t *config) |
| Configure UART configuration structure with default values. More...
|
|
err_t | hal_uart_open (handle_t *handle, bool hal_obj_open_state) |
| Open the UART HAL layer object on selected pins. More...
|
|
err_t | hal_uart_set_baud (handle_t *handle, hal_uart_config_t *config) |
| Set the UART baud rate. More...
|
|
err_t | hal_uart_set_parity (handle_t *handle, hal_uart_config_t *config) |
| Set the UART parity. More...
|
|
err_t | hal_uart_set_stop_bits (handle_t *handle, hal_uart_config_t *config) |
| Set the number of UART stop bits. More...
|
|
err_t | hal_uart_set_data_bits (handle_t *handle, hal_uart_config_t *config) |
| Set the number of UART data bits. More...
|
|
void | hal_uart_set_blocking (handle_t *handle, bool blocking) |
| Set UART HAL in blocking/non-blocking mode. More...
|
|
size_t | hal_uart_write (handle_t *handle, uint8_t *buffer, size_t size) |
| Write data to UART. More...
|
|
size_t | hal_uart_print (handle_t *handle, char *text) |
| Print the string to UART. More...
|
|
size_t | hal_uart_println (handle_t *handle, char *text) |
| Print the string to UART and append new line. More...
|
|
size_t | hal_uart_read (handle_t *handle, uint8_t *buffer, size_t size) |
| Read data from UART. More...
|
|
size_t | hal_uart_bytes_available (hal_uart_t *hal_obj) |
| Check number of data available to read. More...
|
|
void | hal_uart_clear (hal_uart_t *hal_obj) |
| Discard all characters from UART buffers. More...
|
|
err_t | hal_uart_close (handle_t *handle) |
| Close UART HAL layer object. More...
|
|