mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
ISO7816_Init with more parameters, slave/master clock
This commit is contained in:
@@ -162,7 +162,7 @@ void CCID_init( void )
|
||||
/* power up the card */
|
||||
// PIO_Set(&pinsPower[0]);
|
||||
|
||||
ISO7816_Init( &pinIso7816RstMC ) ;
|
||||
ISO7816_Init( &pinIso7816RstMC, USART_SIM, CLK_MASTER ) ;
|
||||
|
||||
/* Read ATR */
|
||||
ISO7816_warm_reset() ;
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
#define PHONE_DATAIN 5
|
||||
#define PHONE_INT 6
|
||||
|
||||
#define CLK_MASTER 1
|
||||
#define CLK_SLAVE 0
|
||||
|
||||
typedef struct ring_buffer
|
||||
{
|
||||
uint8_t buf[BUFLEN*2]; // data buffer
|
||||
|
||||
Reference in New Issue
Block a user