interrupt handling

Dependencies:  

Committer:
soumi_ghsoh
Date:
Tue Apr 07 20:06:51 2015 +0000
Revision:
7:96baf1b2fd07
Parent:
5:93c612f43ec2
added PollNFC(), MemReadReqNFC(), InventoryReqNFC()

Who changed what in which revision?

UserRevisionLine numberNew contents of line
soumi_ghsoh 7:96baf1b2fd07 1 //void trf797xStopDecoders(void);
soumi_ghsoh 7:96baf1b2fd07 2 //void trf797xRunDecoders(void);
soumi_ghsoh 7:96baf1b2fd07 3 //void trf797xTxNextSlot(void);
soumi_ghsoh 7:96baf1b2fd07 4 //void trf797xtDisableSlotCounter(void);
soumi_ghsoh 7:96baf1b2fd07 5 //void trf797xReset(void);
soumi_ghsoh 7:96baf1b2fd07 6 //void trf797xTurnRfOn(void);
soumi_ghsoh 7:96baf1b2fd07 7 //void trf797xTurnRfOff(void);
soumi_ghsoh 7:96baf1b2fd07 8 //void trf797xWriteIsoControl(uint8_t iso_control);
soumi_ghsoh 7:96baf1b2fd07 9 //void iso15693FindTag(void);
soumi_ghsoh 7:96baf1b2fd07 10 //void iso15693Anticollision(uint8_t *mask, uint8_t length);
soumi_ghsoh 7:96baf1b2fd07 11 //void trf797xInitialSettings(void);
soumi_ghsoh 7:96baf1b2fd07 12 //uint8_t irqRegister = 0x01; // Interrupt register
soumi_ghsoh 7:96baf1b2fd07 13 //volatile uint8_t irqFlag = 0x00;
soumi_ghsoh 7:96baf1b2fd07 14 //uint8_t rxErrorFlag = 0x00;
soumi_ghsoh 7:96baf1b2fd07 15 //uint8_t readerMode; // Determines how interrupts will be handled
soumi_ghsoh 7:96baf1b2fd07 16 //int16_t nfc_state;
soumi_ghsoh 7:96baf1b2fd07 17 //uint8_t nfc_protocol;
soumi_ghsoh 7:96baf1b2fd07 18 //uint8_t active;
soumi_ghsoh 7:96baf1b2fd07 19 //uint8_t tagFlag;
soumi_ghsoh 7:96baf1b2fd07 20 //uint8_t irqCount = 0;
soumi_ghsoh 7:96baf1b2fd07 21
soumi_ghsoh 7:96baf1b2fd07 22 //uint8_t debugBuffer[1000]; // Capture data for analysis
soumi_ghsoh 7:96baf1b2fd07 23 //uint8_t bufIdx=0;
soumi_ghsoh 7:96baf1b2fd07 24 //extern uint8_t turnRFOn[2];
soumi_ghsoh 7:96baf1b2fd07 25 //
soumi_ghsoh 7:96baf1b2fd07 26 //extern uint8_t testcommand[2];
soumi_ghsoh 7:96baf1b2fd07 27 //
soumi_ghsoh 7:96baf1b2fd07 28 //uint8_t buffer[2];
soumi_ghsoh 7:96baf1b2fd07 29 //int8_t rxtxState = 1; // Transmit/Receive byte count
soumi_ghsoh 7:96baf1b2fd07 30 //uint8_t afi = 0;
soumi_ghsoh 7:96baf1b2fd07 31 //uint8_t flags = 0; // Stores the mask value (used in anticollision)
soumi_ghsoh 7:96baf1b2fd07 32 //uint8_t command[2];
soumi_ghsoh 7:96baf1b2fd07 33 //uint8_t temp;
soumi_ghsoh 7:96baf1b2fd07 34 //extern uint8_t irqRegister; // Interrupt register (main.cpp)
soumi_ghsoh 7:96baf1b2fd07 35 //volatile extern uint8_t irqFlag; // main.cpp
soumi_ghsoh 7:96baf1b2fd07 36 //extern uint8_t rxErrorFlag; // main.cpp
soumi_ghsoh 7:96baf1b2fd07 37 //extern uint8_t readerMode; // Determines how interrupts will be handled (main.cpp)
soumi_ghsoh 7:96baf1b2fd07 38 //extern int8_t rxtxState; // Transmit/Receive byte count (main.cpp)
soumi_ghsoh 7:96baf1b2fd07 39 //extern uint8_t buffer[2];
soumi_ghsoh 7:96baf1b2fd07 40 //extern uint8_t tagFlag;
soumi_ghsoh 7:96baf1b2fd07 41 //extern DigitalIn irqPin;
soumi_ghsoh 7:96baf1b2fd07 42 //extern uint8_t debugBuffer[1000]; // Capture data for analysis
soumi_ghsoh 7:96baf1b2fd07 43 //extern uint8_t bufIdx;