IRQ based tag polling

This commit is contained in:
2022-03-10 22:25:35 +01:00
parent b01caeda28
commit 97aa264b54
5 changed files with 448 additions and 112 deletions

View File

@ -16,6 +16,8 @@ public:
SVector<Mfrc522, NFC_PORTS> readers;
SVector<uint8_t, NFC_PORTS> irqPins;
static void detectCb(Mfrc522* reader, void* data);
NfcBoard();
void probe();
@ -23,4 +25,8 @@ public:
void printNfcDevices(Serial* serial);
int dispatch(char* inBuffer, Serial* serial);
uint8_t csToIrq(uint8_t cs);
};
extern NfcBoard nfcBoard;