| NUC472_NUC442_BSP V3.03.003 The Board Support Package for NUC472/NUC442

Functions | Variables
scuart.c File Reference

NUC472/NUC442 Smartcard UART mode (SCUART) driver source file. More...

`#include "NUC472_442.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

NUC472/NUC442 Smartcard UART mode (SCUART) driver source file.

Version
  V1.00

Revision
  7

Date
  15/11/09 7:18p

Note
  SPDX-License-Identifier: Apache-2.0 Copyright (C) 2014 Nuvoton Technology Corp. All rights reserved.

Definition in file scuart.c.