SMARTCARD_T0
SC_A2R
is only used within SMARTCARD_T0.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
SMARTCARD_T0
SC_A2R
SC_A2R variable
Syntax
from
smartcard.c:35
SC_ATR
SC_A2R
;
References
Location
Referrer
Text
smartcard.c:35
SC_ATR
SC_A2R
;
smartcard.c:87
SC_Handler()
SC_A2R
.
TS
=
0
;
smartcard.c:88
SC_Handler()
SC_A2R
.
T0
=
0
;
smartcard.c:91
SC_Handler()
SC_A2R
.
T
[
i
]
=
0
;
smartcard.c:95
SC_Handler()
SC_A2R
.
H
[
i
]
=
0
;
smartcard.c:97
SC_Handler()
SC_A2R
.
Tlength
=
0
;
smartcard.c:98
SC_Handler()
SC_A2R
.
Hlength
=
0
;
smartcard.c:210
SC_PTSConfig()
if
(
(
SC_A2R
.
T0
&
(
uint8_t
)
0x10
)
==
0x10
)
smartcard.c:212
SC_PTSConfig()
if
(
SC_A2R
.
T
[
0
]
!=
0x11
)
smartcard.c:222
SC_PTSConfig()
ptscmd
[
2
]
=
SC_A2R
.
T
[
0
]
;
smartcard.c:225
SC_PTSConfig()
ptscmd
[
3
]
=
(
uint8_t
)
0xFF
^
(
uint8_t
)
0x10
^
(
uint8_t
)
SC_A2R
.
T
[
0
]
;
smartcard.c:241
SC_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:250
SC_PTSConfig()
workingbaudrate
=
apbclock
*
D_Table
[
(
SC_A2R
.
T
[
0
]
&
(
uint8_t
)
0x0F
)
]
;
smartcard.c:251
SC_PTSConfig()
workingbaudrate
/=
F_Table
[
(
(
SC_A2R
.
T
[
0
]
>
>
4
)
&
(
uint8_t
)
0x0F
)
]
;
smartcard.c:472
SC_decode_Answer2reset()
SC_A2R
.
TS
=
card
[
0
]
;
/* Initial character */
smartcard.c:473
SC_decode_Answer2reset()
SC_A2R
.
T0
=
card
[
1
]
;
/* Format character */
smartcard.c:475
SC_decode_Answer2reset()
SC_A2R
.
Hlength
=
SC_A2R
.
T0
&
(
uint8_t
)
0x0F
;
smartcard.c:477
SC_decode_Answer2reset()
if
(
(
SC_A2R
.
T0
&
(
uint8_t
)
0x80
)
==
0x80
)
smartcard.c:484
SC_decode_Answer2reset()
SC_A2R
.
Tlength
=
SC_A2R
.
Tlength
+
(
(
(
SC_A2R
.
T0
&
(
uint8_t
)
0xF0
)
>
>
(
4
+
i
)
)
&
(
uint8_t
)
0x1
)
;
smartcard.c:487
SC_decode_Answer2reset()
for
(
i
=
0
;
i
<
SC_A2R
.
Tlength
;
i
++
)
smartcard.c:489
SC_decode_Answer2reset()
SC_A2R
.
T
[
i
]
=
card
[
i
+
2
]
;
smartcard.c:492
SC_decode_Answer2reset()
if
(
(
SC_A2R
.
T0
&
(
uint8_t
)
0x80
)
==
0x00
)
smartcard.c:498
SC_decode_Answer2reset()
protocol
=
SC_A2R
.
T
[
SC_A2R
.
Tlength
-
1
]
&
(
uint8_t
)
0x0F
;
smartcard.c:503
SC_decode_Answer2reset()
if
(
(
SC_A2R
.
T
[
SC_A2R
.
Tlength
-
1
]
&
(
uint8_t
)
0x80
)
==
0x80
)
smartcard.c:512
SC_decode_Answer2reset()
buf
=
SC_A2R
.
Tlength
;
smartcard.c:513
SC_decode_Answer2reset()
SC_A2R
.
Tlength
=
0
;
smartcard.c:517
SC_decode_Answer2reset()
SC_A2R
.
Tlength
=
SC_A2R
.
Tlength
+
(
(
(
SC_A2R
.
T
[
buf
-
1
]
&
(
uint8_t
)
0xF0
)
>
>
(
4
+
i
)
)
&
(
uint8_t
)
0x1
)
;
smartcard.c:520
SC_decode_Answer2reset()
for
(
i
=
0
;
i
<
SC_A2R
.
Tlength
;
i
++
)
smartcard.c:522
SC_decode_Answer2reset()
SC_A2R
.
T
[
buf
+
i
]
=
card
[
i
+
2
+
buf
]
;
smartcard.c:524
SC_decode_Answer2reset()
SC_A2R
.
Tlength
+=
(
uint8_t
)
buf
;
smartcard.c:527
SC_decode_Answer2reset()
for
(
i
=
0
;
i
<
SC_A2R
.
Hlength
;
i
++
)
smartcard.c:529
SC_decode_Answer2reset()
SC_A2R
.
H
[
i
]
=
card
[
i
+
2
+
SC_A2R
.
Tlength
]
;
Data Use
Functions reading
SC_A2R
SC_A2R
SC_Handler()
SC_PTSConfig()
SC_decode_Answer2reset()
all items filtered out
Type of
SC_A2R
SC_A2R
SC_ATR
all items filtered out