M480 BSP V3.05.006
The Board Support Package for M480 Series
Functions
usci_uart.c File Reference

M480 series USCI UART (UUART) driver source file. More...

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

Go to the source code of this file.

Functions

void UUART_ClearIntFlag (UUART_T *uuart, uint32_t u32Mask)
 Clear USCI_UART specified interrupt flag. More...
 
uint32_t UUART_GetIntFlag (UUART_T *uuart, uint32_t u32Mask)
 Get USCI_UART specified interrupt flag. More...
 
void UUART_Close (UUART_T *uuart)
 Disable USCI_UART function mode. More...
 
void UUART_DisableInt (UUART_T *uuart, uint32_t u32Mask)
 Disable interrupt function. More...
 
void UUART_EnableInt (UUART_T *uuart, uint32_t u32Mask)
 Enable interrupt function. More...
 
uint32_t UUART_Open (UUART_T *uuart, uint32_t u32baudrate)
 Open and set USCI_UART function. More...
 
uint32_t UUART_Read (UUART_T *uuart, uint8_t pu8RxBuf[], uint32_t u32ReadBytes)
 Read USCI_UART data. More...
 
uint32_t UUART_SetLine_Config (UUART_T *uuart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32parity, uint32_t u32stop_bits)
 Set USCI_UART line configuration. More...
 
uint32_t UUART_Write (UUART_T *uuart, uint8_t pu8TxBuf[], uint32_t u32WriteBytes)
 Write USCI_UART data. More...
 
void UUART_EnableWakeup (UUART_T *uuart, uint32_t u32WakeupMode)
 Enable USCI_UART Wake-up Function. More...
 
void UUART_DisableWakeup (UUART_T *uuart)
 Disable USCI_UART Wake-up Function. More...
 
void UUART_EnableFlowCtrl (UUART_T *uuart)
 Enable USCI_UART auto flow control. More...
 
void UUART_DisableFlowCtrl (UUART_T *uuart)
 Disable USCI_UART auto flow control. More...
 

Detailed Description

M480 series USCI UART (UUART) driver source file.

Version
V3.00

SPDX-License-Identifier: Apache-2.0

Definition in file usci_uart.c.