mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
35 lines
388 B
C
35 lines
388 B
C
|
#include "smartcard.h"
|
||
|
|
||
|
/*
|
||
|
PA5 SIM I/O
|
||
|
PA7 SIM CLOCK
|
||
|
PA10 SIM RESET
|
||
|
|
||
|
Both RX / TX is connected to PA5
|
||
|
|
||
|
*/
|
||
|
|
||
|
void SmartCardSetup(void) {
|
||
|
// PA5 ->
|
||
|
// PA7 ->
|
||
|
// PA10 ->
|
||
|
}
|
||
|
|
||
|
void SmartCardStop(void) {
|
||
|
StopTicks();
|
||
|
Dbprintf("SmartCardStop");
|
||
|
LED_A_OFF();
|
||
|
}
|
||
|
|
||
|
bool SmartCardInit(void) {
|
||
|
|
||
|
StartTicks();
|
||
|
|
||
|
LED_A_ON();
|
||
|
SmartCardSetup();
|
||
|
|
||
|
Dbprintf("SmartCardInit");
|
||
|
return true;
|
||
|
}
|
||
|
|