SC_A2R is only used within SMARTCARD_T0.
 
Symbols
loading...
Files
loading...

SC_A2R variable

Syntax

SC_ATR SC_A2R;

References

LocationReferrerText
smartcard.c:35
SC_ATR SC_A2R;
smartcard.c:87SC_Handler()
SC_A2R.TS = 0;
smartcard.c:88SC_Handler()
SC_A2R.T0 = 0;
smartcard.c:91SC_Handler()
SC_A2R.T[i] = 0;
smartcard.c:95SC_Handler()
SC_A2R.H[i] = 0;
smartcard.c:97SC_Handler()
SC_A2R.Tlength = 0;
smartcard.c:98SC_Handler()
SC_A2R.Hlength = 0;
smartcard.c:210SC_PTSConfig()
if((SC_A2R.T0 & (uint8_t)0x10) == 0x10)
smartcard.c:212SC_PTSConfig()
if(SC_A2R.T[0] != 0x11)
smartcard.c:222SC_PTSConfig()
ptscmd[2] = SC_A2R.T[0];
smartcard.c:225SC_PTSConfig()
ptscmd[3] = (uint8_t)0xFF^(uint8_t)0x10^(uint8_t)SC_A2R.T[0];
smartcard.c:241SC_PTSConfig()
if((ptsanswer[0] != 0xFF) || (ptsanswer[1] != 0x10) || (ptsanswer[2] != SC_A2R.T[0]) || (ptsanswer[3] != ((uint8_t)0xFF^(uint8_t)0x10^(uint8_t)SC_A2R.T[0])))
smartcard.c:250SC_PTSConfig()
workingbaudrate = apbclock * D_Table[(SC_A2R.T[0] & (uint8_t)0x0F)];
smartcard.c:251SC_PTSConfig()
workingbaudrate /= F_Table[((SC_A2R.T[0] >> 4) & (uint8_t)0x0F)];
smartcard.c:472SC_decode_Answer2reset()
SC_A2R.TS = card[0]; /* Initial character */
smartcard.c:473SC_decode_Answer2reset()
SC_A2R.T0 = card[1]; /* Format character */
smartcard.c:475SC_decode_Answer2reset()
SC_A2R.Hlength = SC_A2R.T0 & (uint8_t)0x0F;
smartcard.c:477SC_decode_Answer2reset()
if ((SC_A2R.T0 & (uint8_t)0x80) == 0x80)
smartcard.c:484SC_decode_Answer2reset()
SC_A2R.Tlength = SC_A2R.Tlength + (((SC_A2R.T0 & (uint8_t)0xF0) >> (4 + i)) & (uint8_t)0x1);
smartcard.c:487SC_decode_Answer2reset()
for (i = 0; i < SC_A2R.Tlength; i++)
smartcard.c:489SC_decode_Answer2reset()
SC_A2R.T[i] = card[i + 2];
smartcard.c:492SC_decode_Answer2reset()
if ((SC_A2R.T0 & (uint8_t)0x80) == 0x00)
smartcard.c:498SC_decode_Answer2reset()
protocol = SC_A2R.T[SC_A2R.Tlength - 1] & (uint8_t)0x0F;
smartcard.c:503SC_decode_Answer2reset()
if ((SC_A2R.T[SC_A2R.Tlength - 1] & (uint8_t)0x80) == 0x80)
smartcard.c:512SC_decode_Answer2reset()
buf = SC_A2R.Tlength;
smartcard.c:513SC_decode_Answer2reset()
SC_A2R.Tlength = 0;
smartcard.c:517SC_decode_Answer2reset()
SC_A2R.Tlength = SC_A2R.Tlength + (((SC_A2R.T[buf - 1] & (uint8_t)0xF0) >> (4 + i)) & (uint8_t)0x1);
smartcard.c:520SC_decode_Answer2reset()
for (i = 0;i < SC_A2R.Tlength; i++)
smartcard.c:522SC_decode_Answer2reset()
SC_A2R.T[buf + i] = card[i + 2 + buf];
smartcard.c:524SC_decode_Answer2reset()
SC_A2R.Tlength += (uint8_t)buf;
smartcard.c:527SC_decode_Answer2reset()
for (i = 0; i < SC_A2R.Hlength; i++)
smartcard.c:529SC_decode_Answer2reset()
SC_A2R.H[i] = card[i + 2 + SC_A2R.Tlength];

Data Use

Functions reading SC_A2R
SC_A2R
Type of SC_A2R
SC_A2R
all items filtered out