NANO103 BSP V3.01.004
The Board Support Package for Nano103 Series
Functions | Variables
scuart.c File Reference

Nano 103 Smartcard UART mode (SCUART) driver source file. More...

#include "Nano103.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...
 
uint32_t 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...
 

Variables

int32_t g_SCUART_i32ErrCode = 0
 

Detailed Description

Nano 103 Smartcard UART mode (SCUART) driver source file.

Version
V1.00
Revision
2
Date
15/12/03 6:51p
Note
SPDX-License-Identifier: Apache-2.0 Copyright (C) 2015 Nuvoton Technology Corp. All rights reserved.

Definition in file scuart.c.