#include "uart/uart.h"Go to the source code of this file.
UART driver implementation.
Implements the functions defined in uart.h for controlling UART input/output and interrupts on the EfxSapphireSoC platform.
Definition in file uart.c.
Functions | |
| u32 | uart_writeAvailability (uart_instance_t *inst) |
| Checks the availability of the UART buffer for writing data. | |
| u32 | uart_readOccupancy (uart_instance_t *inst) |
| Checks the occupancy of the UART buffer for reading data. | |
| u32 | uart_status_read (uart_instance_t *inst) |
| Write 32-bit UART data. | |
| void | uart_status_write (uart_instance_t *inst, u32 data) |
| Writes a value to the UART status register. | |
| u32 | uart_read (uart_instance_t *inst) |
| Read 32-bit UART data. | |
| void | uart_write (uart_instance_t *inst, char data) |
| Writes a single character to the UART data register. | |
| void | uart_writeStr (uart_instance_t *inst, const char *str) |
| Write string to UART. | |
| void | uart_writeHex (uart_instance_t *inst, int value) |
| Write integer as decimal to UART. | |
| void | uart_applyConfig (uart_instance_t *inst) |
| Apply stored UART configuration to hardware. | |
| void | uart_TX_emptyInterruptEna (uart_instance_t *inst, char Ena) |
| Enable or Disable UART TX Empty Interrupt. | |
| void | uart_RX_NotemptyInterruptEna (uart_instance_t *inst, char Ena) |
| Enable or Disable UART RX Not Empty Interrupt. | |