NANO102/112 BSP V3.03.003
The Board Support Package for Nano102/112 Series
Functions
scuart.c File Reference

Nano 102/112 series Smartcard UART mode (SCUART) driver source file. More...

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

Go to the source code of this file.

Functions

void SCUART_Close (SC_T *sc)
 The function is used to disable smartcard interface UART mode. More...
 
uint32_t SCUART_Open (SC_T *sc, uint32_t u32baudrate)
 This function use to enable smartcard module UART mode and set baudrate. More...
 
uint32_t SCUART_Read (SC_T *sc, uint8_t *pu8RxBuf, uint32_t u32ReadBytes)
 The function is used to read Rx data from RX FIFO. 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)
 This function is to write data into transmit FIFO to send data out. More...
 

Detailed Description

Nano 102/112 series Smartcard UART mode (SCUART) driver source file.

Version
V1.00
Revision
10
Date
15/05/14 1:09p
Note
SPDX-License-Identifier: Apache-2.0 Copyright (C) 2013~2014 Nuvoton Technology Corp. All rights reserved.

Definition in file scuart.c.