proxmark3/armsrc/iso7816.h
2018-04-03 11:45:20 +02:00

20 lines
No EOL
491 B
C

#ifndef __ISO7816_H
#define __ISO7816_H
#include "proxmark3.h"
#include "apps.h"
#include "ticks.h"
#define ISO_CLK 75000000 //Hex equivalent of 75MHz
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
extern void Dbprintf(const char *fmt, ...);
void ISO7816_setup(void);
void ISO7816_stop(void);
bool ISO7816_waitidle(void);
uint16_t ISO7816_sendbyte(uint32_t data);
bool ISO7816_init();
void ISO7816_test(void);
void Iso7816_print_status(void);
#endif