![]() |
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
M480 Smartcard(SC) driver source file. More...
#include "NuMicro.h"
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) |
This function reset both transmit and receive FIFO of specified smartcard module. More... | |
void | SC_Close (SC_T *sc) |
This function disable specified smartcard module. More... | |
void | SC_Open (SC_T *sc, uint32_t u32CardDet, 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) |
This function block guard time (BGT) of specified smartcard module. More... | |
void | SC_SetCharGuardTime (SC_T *sc, uint32_t u32CGT) |
This function character guard time (CGT) of specified smartcard module. More... | |
void | SC_StopAllTimer (SC_T *sc) |
This function stop all smartcard timer of specified smartcard module. 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) |
This function stop a smartcard timer of specified smartcard module. More... | |
uint32_t | SC_GetInterfaceClock (SC_T *sc) |
This function gets smartcard clock frequency. More... | |
M480 Smartcard(SC) driver source file.
SPDX-License-Identifier: Apache-2.0
Definition in file sc.c.