M480 BSP V3.05.005
The Board Support Package for M480 Series
Macros | Functions
usci_uart.h File Reference

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

Go to the source code of this file.

Macros

#define UUART_WORD_LEN_6
 
#define UUART_WORD_LEN_7
 
#define UUART_WORD_LEN_8
 
#define UUART_WORD_LEN_9
 
#define UUART_PARITY_NONE
 
#define UUART_PARITY_ODD
 
#define UUART_PARITY_EVEN
 
#define UUART_STOP_BIT_1
 
#define UUART_STOP_BIT_2
 
#define UUART_ABR_INT_MASK
 
#define UUART_RLS_INT_MASK
 
#define UUART_BUF_RXOV_INT_MASK
 
#define UUART_TXST_INT_MASK
 
#define UUART_TXEND_INT_MASK
 
#define UUART_RXST_INT_MASK
 
#define UUART_RXEND_INT_MASK
 
#define UUART_WRITE(uuart, u8Data)
 Write USCI_UART data. More...
 
#define UUART_READ(uuart)
 Read USCI_UART data. More...
 
#define UUART_GET_TX_EMPTY(uuart)
 Get Tx empty. More...
 
#define UUART_GET_RX_EMPTY(uuart)
 Get Rx empty. More...
 
#define UUART_IS_TX_EMPTY(uuart)
 Check specified usci_uart port transmission is over. More...
 
#define UUART_IS_RX_EMPTY(uuart)
 Check specified usci_uart port receiver is empty. More...
 
#define UUART_WAIT_TX_EMPTY(uuart)
 Wait specified usci_uart port transmission is over. More...
 
#define UUART_IS_TX_FULL(uuart)
 Check TX buffer is full or not. More...
 
#define UUART_IS_RX_FULL(uuart)
 Check RX buffer is full or not. More...
 
#define UUART_GET_TX_FULL(uuart)
 Get Tx full register value. More...
 
#define UUART_GET_RX_FULL(uuart)
 Get Rx full register value. More...
 
#define UUART_ENABLE_PROT_INT(uuart, u32IntSel)
 Enable specified USCI_UART protocol interrupt. More...
 
#define UUART_DISABLE_PROT_INT(uuart, u32IntSel)
 Disable specified USCI_UART protocol interrupt. More...
 
#define UUART_ENABLE_BUF_INT(uuart, u32IntSel)
 Enable specified USCI_UART buffer interrupt. More...
 
#define UUART_DISABLE_BUF_INT(uuart, u32IntSel)
 Disable specified USCI_UART buffer interrupt. More...
 
#define UUART_ENABLE_TRANS_INT(uuart, u32IntSel)
 Enable specified USCI_UART transfer interrupt. More...
 
#define UUART_DISABLE_TRANS_INT(uuart, u32IntSel)
 Disable specified USCI_UART transfer interrupt. More...
 
#define UUART_GET_PROT_STATUS(uuart)
 Get protocol interrupt flag/status. More...
 
#define UUART_CLR_PROT_INT_FLAG(uuart, u32IntTypeFlag)
 Clear specified protocol interrupt flag. More...
 
#define UUART_GET_BUF_STATUS(uuart)
 Get transmit/receive buffer interrupt flag/status. More...
 
#define UUART_CLR_BUF_INT_FLAG(uuart, u32IntTypeFlag)
 Clear specified buffer interrupt flag. More...
 
#define UUART_GET_WAKEUP_FLAG(uuart)
 Get wakeup flag. More...
 
#define UUART_CLR_WAKEUP_FLAG(uuart)
 Clear wakeup flag. More...
 
#define UUART_TRIGGER_RX_PDMA(uuart)
 Trigger RX PDMA function. More...
 
#define UUART_TRIGGER_TX_PDMA(uuart)
 Trigger TX PDMA function. More...
 
#define UUART_DISABLE_RX_PDMA(uuart)
 Disable RX PDMA transfer. More...
 
#define UUART_DISABLE_TX_PDMA(uuart)
 Disable TX PDMA transfer. More...
 
#define UUART_PDMA_ENABLE(uuart, u32FuncSel)
 Enable specified USCI_UART PDMA function. More...
 
#define UUART_PDMA_DISABLE(uuart, u32FuncSel)
 Disable specified USCI_UART PDMA function. More...
 

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 header file.

Version
V3.00

SPDX-License-Identifier: Apache-2.0

Definition in file usci_uart.h.