Various cleanups.
- New functions nfc_device_new(), nfc_device_free(); - Add experimental abort mechanism for the PN53x USB driver; - Move chip-specific variables from nfc_device_t to pn53x_data (Fixes Issue 124).
This commit is contained in:
parent
8d27768097
commit
ad530f6d02
10 changed files with 181 additions and 143 deletions
|
|
@ -125,6 +125,12 @@ struct pn53x_data {
|
|||
pn53x_type type;
|
||||
pn53x_state state;
|
||||
const struct pn53x_io * io;
|
||||
/** Register cache for REG_CIU_BIT_FRAMING, SYMBOL_TX_LAST_BITS: The last TX bits setting, we need to reset this if it does not apply anymore */
|
||||
uint8_t ui8TxBits;
|
||||
/** Register cache for SetParameters function. */
|
||||
uint8_t ui8Parameters;
|
||||
/** Last sent command */
|
||||
uint8_t ui8LastCommand;
|
||||
};
|
||||
|
||||
/* PN53x specific types */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue