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

M4521 Smartcard(SC) driver source file. More...

#include "M4521.h"
Include dependency graph for sc.c:

Go to the source code of this file.

Functions

uint32_t SC_IsCardInserted (SC_T *sc)
 This function indicates specified smartcard slot status. More...
 
void SC_ClearFIFO (SC_T *sc)
 Reset the Tx/Rx FIFO. More...
 
void SC_Close (SC_T *sc)
 This function disable specified smartcard module. More...
 
void SC_Open (SC_T *sc, uint32_t u32CD, uint32_t u32PWR)
 This function initialized smartcard module. More...
 
void SC_ResetReader (SC_T *sc)
 This function reset specified smartcard module to its default state for activate smartcard. More...
 
void SC_SetBlockGuardTime (SC_T *sc, uint32_t u32BGT)
 Set Block Guard Time. More...
 
void SC_SetCharGuardTime (SC_T *sc, uint32_t u32CGT)
 Set character guard time. More...
 
void SC_StopAllTimer (SC_T *sc)
 Stop all Timer counting. More...
 
void SC_StartTimer (SC_T *sc, uint32_t u32TimerNum, uint32_t u32Mode, uint32_t u32ETUCount)
 This function configure and start a smartcard timer of specified smartcard module. More...
 
void SC_StopTimer (SC_T *sc, uint32_t u32TimerNum)
 Stop Timer counting. More...
 

Variables

int32_t g_SC_i32ErrCode = 0
 

Detailed Description

M4521 Smartcard(SC) driver source file.

Version
V3.00
Revision
9
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 sc.c.