M471M/R1/S BSP V3.01.000
The Board Support Package for M4521
Functions
scuart.c File Reference

M471M/R1/S Smartcard UART mode (SCUART) driver source file. More...

#include "NuMicro.h"
Include dependency graph for scuart.c:

Go to the source code of this file.

Functions

void SCUART_Close (SC_T *sc)
 Disable smartcard uart interface. More...
 
uint32_t SCUART_Open (SC_T *sc, uint32_t u32baudrate)
 Enable smartcard uart interface. More...
 
uint32_t SCUART_Read (SC_T *sc, uint8_t *pu8RxBuf, uint32_t u32ReadBytes)
 Read data from smartcard UART interface. More...
 
uint32_t SCUART_SetLineConfig (SC_T *sc, uint32_t u32Baudrate, uint32_t u32DataWidth, uint32_t u32Parity, uint32_t u32StopBits)
 This function use to config smartcard UART mode line setting. More...
 
void SCUART_SetTimeoutCnt (SC_T *sc, uint32_t u32TOC)
 This function use to set receive timeout count. More...
 
void SCUART_Write (SC_T *sc, uint8_t *pu8TxBuf, uint32_t u32WriteBytes)
 Write data to smartcard UART interface. More...
 

Detailed Description

M471M/R1/S Smartcard UART mode (SCUART) driver source file.

SPDX-License-Identifier: Apache-2.0

Definition in file scuart.c.