46 if(sc ==
SC0 && u32CardStateIgnore[0] == 1)
48 else if(sc ==
SC1 && u32CardStateIgnore[1] == 1)
50 else if(sc ==
SC2 && u32CardStateIgnore[2] == 1)
52 else if(cond1 != cond2)
95 uint32_t u32Reg = 0, u32Intf;
107 u32CardStateIgnore[u32Intf] = 0;
111 u32CardStateIgnore[u32Intf] = 1;
153 if(u32CardStateIgnore[u32Intf])
238 else if(u32TimerNum == 1)
260 sc->
ALTCTL &= ~SC_ALTCTL_TMR0_SEN_Msk;
261 else if(u32TimerNum == 1)
262 sc->
ALTCTL &= ~SC_ALTCTL_TMR1_SEN_Msk;
264 sc->
ALTCTL &= ~SC_ALTCTL_TMR2_SEN_Msk;
Nano100 series peripheral access layer header file. This file contains all the peripheral register's ...
#define SC_IER_TMR0_IE_Msk
#define SC_PINCSR_CD_PIN_ST_Pos
#define SC_CTL_TX_ERETRY_EN_Msk
#define SC_IER_ACON_ERR_IE_Msk
#define SC_CTL_AUTO_CON_EN_Msk
#define SC_ALTCTL_TMR1_SEN_Msk
#define SC_CTL_RX_ERETRY_EN_Msk
#define SC_CTL_SC_CEN_Msk
#define SC_IER_RDA_IE_Msk
#define SC_CTL_TX_ERETRY_Msk
#define SC_ALTCTL_RX_RST_Msk
#define SC_PINCSR_CD_LEV_Msk
#define SC_IER_TMR2_IE_Msk
#define SC_ALTCTL_TX_RST_Msk
#define SC_IER_BGT_IE_Msk
#define SC_CTL_CD_DEB_SEL_Msk
#define SC_PINCSR_CD_LEV_Pos
#define SC_IER_TERR_IE_Msk
#define SC_ALTCTL_TMR0_SEN_Msk
#define SC_PINCSR_CD_PIN_ST_Msk
#define SC_ALTCTL_TMR2_SEN_Msk
#define SC_CTL_RX_FTRI_LEV_Msk
#define SC_CTL_TMR_SEL_Msk
#define SC_IER_TMR1_IE_Msk
#define SC_PINCSR_ADAC_CD_EN_Msk
#define SC_CTL_RX_ERETRY_Msk
#define SC_PINCSR_POW_INV_Msk
#define SC2
Pointer to SC2 register structure.
#define SC1
Pointer to SC1 register structure.
#define SC0
Pointer to SC0 register structure.
#define SC_PIN_STATE_IGNORE
void SC_SetBlockGuardTime(SC_T *sc, uint32_t u32BGT)
This function block guard time (BGT) of specified smartcard module.
void SC_SetCharGuardTime(SC_T *sc, uint32_t u32CGT)
This function character guard time (CGT) of specified smartcard module.
void SC_ResetReader(SC_T *sc)
This function reset specified smartcard module to its default state for activate smartcard.
void SC_Open(SC_T *sc, uint32_t u32CardDet, uint32_t u32PWR)
This function initialized smartcard module.
void SC_StopAllTimer(SC_T *sc)
This function stop all smartcard timer of specified smartcard module.
uint32_t SC_IsCardInserted(SC_T *sc)
This function indicates specified smartcard slot status.
void SC_StopTimer(SC_T *sc, uint32_t u32TimerNum)
This function stop a smartcard timer of specified smartcard module.
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.
void SC_ClearFIFO(SC_T *sc)
This function reset both transmit and receive FIFO of specified smartcard module.
void SC_Close(SC_T *sc)
This function disable specified smartcard module.
#define TRUE
Boolean true, define to use in API parameters or return value.
#define FALSE
Boolean false, define to use in API parameters or return value.