In my attempts to make the LEGIC code better, its not working now. Timings if off.

CHG: switching to US clock.
CHG: better trace annotation for legic
CHG: Legic prng can now give a x bits in once.
This commit is contained in:
iceman1001 2016-09-09 11:56:20 +02:00
commit ad5bc8cc8c
9 changed files with 318 additions and 235 deletions

View file

@ -18,6 +18,8 @@
#include "legic_prng.h" // legic PRNG impl
#include "crc.h" // legic crc-4
#define LEGIC_READ 0x01
#define LEGIC_WRITE 0x00
extern void LegicRfSimulate(int phase, int frame, int reqresp);
extern int LegicRfReader(int offset, int bytes, int iv);