Interface functions for the Universal Asynchronous Receiver-Transmitter (UART). More...
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Enumerations | |
enum | hal_uart_baudrate_t { UART_BAUD_600, UART_BAUD_1K2, UART_BAUD_2K4, UART_BAUD_4K8, UART_BAUD_9K6, UART_BAUD_19K2, UART_BAUD_38K4, UART_BAUD_57K6, UART_BAUD_115K2, UART_BAUD_600, UART_BAUD_1K2, UART_BAUD_2K4, UART_BAUD_4K8, UART_BAUD_9K6, UART_BAUD_19K2, UART_BAUD_38K4, UART_BAUD_57K6, UART_BAUD_115K2 } |
Functions | |
void | hal_uart_init (hal_uart_baudrate_t baud) |
void | hal_uart_putchar (uint8_t ch) |
_Bool | hal_uart_tx_complete () |
uint8_t | hal_uart_chars_available (void) |
Find number of characters in the UART receive buffer. | |
uint8_t | hal_uart_getchar (void) |
Interface functions for the Universal Asynchronous Receiver-Transmitter (UART).
Definition in file hal_uart.h.