M4521_BSP V3.02.000
The Board Support Package for M4521
Functions | Variables
scuart.c File Reference

M4521 Smartcard UART mode (SCUART) driver source file. More...

#include "M4521.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...
 
uint32_t SCUART_Write (SC_T *sc, uint8_t *pu8TxBuf, uint32_t u32WriteBytes)
 Write data to smartcard UART interface. More...
 

Variables

int32_t g_SCUART_i32ErrCode = 0
 

Detailed Description

M4521 Smartcard UART mode (SCUART) driver source file.

Version
V3.00
Revision
8
Date
15/08/11 10:26a
Note
SPDX-License-Identifier: Apache-2.0 Copyright (C) 2022 Nuvoton Technology Corp. All rights reserved.

Definition in file scuart.c.