![]() |
M471M/R1/S BSP V3.01.000
The Board Support Package for M4521
|
M471M/R1/S UART driver source file. More...
Go to the source code of this file.
Functions | |
void | UART_ClearIntFlag (UART_T *uart, uint32_t u32InterruptFlag) |
Clear UART specified interrupt flag. More... | |
void | UART_Close (UART_T *uart) |
Disable UART interrupt. More... | |
void | UART_DisableFlowCtrl (UART_T *uart) |
Disable UART auto flow control function. More... | |
void | UART_DisableInt (UART_T *uart, uint32_t u32InterruptFlag) |
Disable UART specified interrupt. More... | |
void | UART_EnableFlowCtrl (UART_T *uart) |
Enable UART auto flow control function. More... | |
void | UART_EnableInt (UART_T *uart, uint32_t u32InterruptFlag) |
The function is used to enable UART specified interrupt and enable NVIC UART IRQ. More... | |
void | UART_Open (UART_T *uart, uint32_t u32baudrate) |
Open and set UART function. More... | |
uint32_t | UART_Read (UART_T *uart, uint8_t *pu8RxBuf, uint32_t u32ReadBytes) |
Read UART data. More... | |
void | UART_SetLine_Config (UART_T *uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32parity, uint32_t u32stop_bits) |
Set UART line configuration. More... | |
void | UART_SetTimeoutCnt (UART_T *uart, uint32_t u32TOC) |
Set Rx timeout count. More... | |
void | UART_SelectIrDAMode (UART_T *uart, uint32_t u32Buadrate, uint32_t u32Direction) |
Select and configure IrDA function. More... | |
void | UART_SelectRS485Mode (UART_T *uart, uint32_t u32Mode, uint32_t u32Addr) |
Select and configure RS485 function. More... | |
uint32_t | UART_Write (UART_T *uart, uint8_t *pu8TxBuf, uint32_t u32WriteBytes) |
Write UART data. More... | |
M471M/R1/S UART driver source file.
SPDX-License-Identifier: Apache-2.0
Definition in file uart.c.