Commit 40e6b93
committed
Major rework.
Read card identifier to know its parameters.
Implement card unlocking protocol.
Use the same frequencies as in libgc2.
Implement event-based wait for card operations using INT line.
Pythonify the source:
- declare a class
- use enum and ctypes for flag constants and structure definitions
Unhardcode SPI bus and GPIO for INT signal, to be board-independent.
Switch dependencies to pure-python and board-independent modules.1 parent 5d60c3b commit 40e6b93
3 files changed
Lines changed: 542 additions & 327 deletions
0 commit comments