WISP ERT (Client)
1.0.0
The WISP Extended Runtime (WISP side)
|
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | WISP_dataStructInterface_t |
Macros | |
#define | MODE_STD (0) /* tag only responds up to ACKs (even ignores ReqRNs) */ |
#define | MODE_READ (BIT0) /* tag responds to read commands */ |
#define | MODE_WRITE (BIT1) /* tag responds to write commands */ |
#define | MODE_USES_SEL (BIT2) /* tags only use select when they want to play nice (they don't have to) */ |
#define | CMD_ID_ACK (BIT0) |
#define | CMD_ID_READ (BIT1) |
#define | CMD_ID_WRITE (BIT2) |
#define | CMD_ID_BLOCKWRITE (BIT3) |
Functions | |
void | WISP_doRFID (void) |
void | WISP_registerCallback_ACK (void(*fnPtr)(void)) |
void | WISP_registerCallback_READ (void(*fnPtr)(void)) |
void | WISP_registerCallback_WRITE (void(*fnPtr)(void)) |
void | WISP_registerCallback_BLOCKWRITE (void(*fnPtr)(void)) |
void | WISP_setMode (uint8_t newMode) |
void | WISP_setAbortConditions (uint8_t newAbortConditions) |
void | RX_ISR (void) |
void | Timer0A0_ISR (void) |
void | Timer0A1_ISR (void) |
Defines the public interface for the RFID module
#define CMD_ID_ACK (BIT0) |
#define CMD_ID_BLOCKWRITE (BIT3) |
#define CMD_ID_READ (BIT1) |
#define CMD_ID_WRITE (BIT2) |
#define MODE_READ (BIT0) /* tag responds to read commands */ |
#define MODE_STD (0) /* tag only responds up to ACKs (even ignores ReqRNs) */ |
#define MODE_USES_SEL (BIT2) /* tags only use select when they want to play nice (they don't have to) */ |
#define MODE_WRITE (BIT1) /* tag responds to write commands */ |
void RX_ISR | ( | void | ) |
void Timer0A0_ISR | ( | void | ) |
void Timer0A1_ISR | ( | void | ) |
void WISP_doRFID | ( | void | ) |
void WISP_registerCallback_ACK | ( | void(*)(void) | fnPtr | ) |
Registers a callback for ACK event
void WISP_registerCallback_BLOCKWRITE | ( | void(*)(void) | fnPtr | ) |
Registers a callback for a BLOCKWRITE event
void WISP_registerCallback_READ | ( | void(*)(void) | fnPtr | ) |
Registers a callback for READ event
void WISP_registerCallback_WRITE | ( | void(*)(void) | fnPtr | ) |
Registers a callback for a WRITE event
void WISP_setAbortConditions | ( | uint8_t | abortOn | ) |
Sets abort conditions for the RFID state machine. This dictates when WISP comm code will abort and return control to client code.
void WISP_setMode | ( | uint8_t | mode | ) |
Sets mode parameters for the RFID state machine