| M480 BSP V3.05.001 The Board Support Package for M480 Series

Functions
uart.c File Reference

M480 series UART driver source file. More...

`#include <stdio.h>`
`#include "NuMicro.h"`

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_SetLineConfig (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...
void | UART_SelectLINMode (UART_T *uart, uint32_t u32Mode, uint32_t u32BreakLength)
| Select and configure LIN function. More...
uint32_t | UART_Write (UART_T *uart, uint8_t pu8TxBuf[], uint32_t u32WriteBytes)
| Write UART data. More...

## Detailed Description

M480 series UART driver source file.

Version
  V3.00 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2016-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file uart.c.