Structs and Enums used by the driver.
- Note
- This is example show how to instantiate UART with uart_instance_t and uart_hwreg_t.
#define UART_BASE (uart_hwreg_t*)SYSTEM_UART_0_IO_CTRL
uart0.hwreg = UART0_BASE;
}
#define BSP_UART_DATA_LEN
#define BSP_UART_BAUDRATE
@ BITS_8
8-bit data length */
void uart_applyConfig(uart_instance_t *inst)
Apply stored UART configuration to hardware.
UART instance. Holds the software registers and hardware pointer.