47 if(sc ==
SC0 && u32CardStateIgnore[0] == 1)
50 else if(sc == SC1 && u32CardStateIgnore[1] == 1)
52 else if(sc == SC2 && u32CardStateIgnore[2] == 1)
54 else if(sc == SC3 && u32CardStateIgnore[3] == 1)
56 else if(sc == SC4 && u32CardStateIgnore[4] == 1)
58 else if(sc == SC5 && u32CardStateIgnore[5] == 1)
61 else if(cond1 != cond2)
107 uint32_t u32Reg = 0, u32Intf;
130 u32CardStateIgnore[u32Intf] = 0;
134 u32CardStateIgnore[u32Intf] = 1;
196 if(u32CardStateIgnore[u32Intf])
286 else if(u32TimerNum == 1)
309 sc->
ALTCTL &= ~SC_ALTCTL_CNTEN0_Msk;
310 else if(u32TimerNum == 1)
311 sc->
ALTCTL &= ~SC_ALTCTL_CNTEN1_Msk;
313 sc->
ALTCTL &= ~SC_ALTCTL_CNTEN2_Msk;
#define SC_INTEN_TMR2IEN_Msk
#define SC_STATUS_CDPINSTS_Pos
#define SC_INTEN_ACERRIEN_Msk
#define SC_INTEN_CDIEN_Msk
#define SC_PINCTL_PWRINV_Msk
#define SC_STATUS_CDPINSTS_Msk
#define SC_INTEN_TMR1IEN_Msk
#define SC_ALTCTL_CNTEN1_Msk
#define SC_INTEN_TMR0IEN_Msk
#define SC_PINCTL_SYNC_Msk
#define SC_CTL_CDDBSEL_Msk
#define SC_ALTCTL_ADACEN_Msk
#define SC_CTL_TMRSEL_Msk
#define SC_ALTCTL_CNTEN2_Msk
#define SC_INTEN_BGTIEN_Msk
#define SC_INTEN_RDAIEN_Msk
#define SC_ALTCTL_TXRST_Msk
#define SC_TMRCTL0_CNT_Msk
#define SC_ALTCTL_CNTEN0_Msk
#define SC_ALTCTL_RXRST_Msk
#define SC_CTL_RXTRGLV_Msk
#define SC_INTEN_TERRIEN_Msk
#define SC_CTL_AUTOCEN_Msk
#define SC_PIN_STATE_IGNORE
void SC_SetBlockGuardTime(SC_T *sc, uint32_t u32BGT)
Set Block Guard Time.
void SC_SetCharGuardTime(SC_T *sc, uint32_t u32CGT)
Set character guard time.
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)
Stop all Timer counting.
uint32_t SC_IsCardInserted(SC_T *sc)
This function indicates specified smartcard slot status.
void SC_StopTimer(SC_T *sc, uint32_t u32TimerNum)
Stop Timer counting.
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)
Reset the Tx/Rx FIFO.
void SC_Close(SC_T *sc)
This function disable specified smartcard module.