interrupt handling
interruptStuff.h@4:9ab0d84bbd07, 2015-03-20 (annotated)
- Committer:
- rwclough
- Date:
- Fri Mar 20 19:51:01 2015 +0000
- Revision:
- 4:9ab0d84bbd07
- Parent:
- 3:eaae5433ab45
Progress as of Friday 2015-03-20.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rwclough | 2:bd5afc5aa139 | 1 | /* |
rwclough | 2:bd5afc5aa139 | 2 | Header file for interruptHandler.cpp |
rwclough | 2:bd5afc5aa139 | 3 | */ |
rwclough | 2:bd5afc5aa139 | 4 | |
rwclough | 4:9ab0d84bbd07 | 5 | // Prototypes |
rwclough | 4:9ab0d84bbd07 | 6 | void trf797xSetupIrq(void); |
rwclough | 4:9ab0d84bbd07 | 7 | void trf797xReadIrqStatus(uint8_t *buffer); |
rwclough | 4:9ab0d84bbd07 | 8 | void trf797xResetIrqStatus(void); |
rwclough | 4:9ab0d84bbd07 | 9 | void trf797xNfcModeIsr(uint8_t *Register); |
rwclough | 4:9ab0d84bbd07 | 10 | void trf797xTargetIsr(uint8_t *Register); |
rwclough | 4:9ab0d84bbd07 | 11 | void trf797xISR(uint8_t *irq_status); |
rwclough | 4:9ab0d84bbd07 | 12 | void trf797xIrqHandler(void); |
rwclough | 2:bd5afc5aa139 | 13 | |
rwclough | 2:bd5afc5aa139 | 14 | // NFC and tag emulation settings |
rwclough | 2:bd5afc5aa139 | 15 | #define NFC106AC 0x29 |
rwclough | 2:bd5afc5aa139 | 16 | #define NFC212AC 0x2A |
rwclough | 2:bd5afc5aa139 | 17 | #define NFC424AC 0x2B |
rwclough | 2:bd5afc5aa139 | 18 | #define NFC106PA 0x21 |
rwclough | 2:bd5afc5aa139 | 19 | #define NFC212PA 0x22 |
rwclough | 2:bd5afc5aa139 | 20 | #define NFC424PA 0x23 |
rwclough | 2:bd5afc5aa139 | 21 | |
rwclough | 2:bd5afc5aa139 | 22 | #define TAG14443A 0x24 |
rwclough | 2:bd5afc5aa139 | 23 | #define TAG14443B 0x25 |
rwclough | 2:bd5afc5aa139 | 24 | #define TAG15693 0x26 |
rwclough | 2:bd5afc5aa139 | 25 | #define TAGFelica 0x27 |
rwclough | 2:bd5afc5aa139 | 26 | |
rwclough | 2:bd5afc5aa139 | 27 | #define TAG106 0x00 |
rwclough | 2:bd5afc5aa139 | 28 | #define TAG212 0x21 |
rwclough | 2:bd5afc5aa139 | 29 | #define TAG424 0x42 |
rwclough | 2:bd5afc5aa139 | 30 | #define TAG848 0x63 |
rwclough | 2:bd5afc5aa139 | 31 | |
rwclough | 2:bd5afc5aa139 | 32 | #define FIFO_LEN 32 |
rwclough | 2:bd5afc5aa139 | 33 | #define FIFO_MORE 26 |
rwclough | 2:bd5afc5aa139 | 34 |