Data Fields

nfc_device_t Struct Reference

NFC device information. More...

#include <nfc-types.h>

Data Fields

struct driver_callbackspdc
char acName [DEVICE_NAME_LENGTH]
nfc_chip_t nc
nfc_device_spec_t nds
bool bActive
bool bCrc
bool bPar
bool bEasyFraming
uint8_t ui8TxBits
int iLastError

Detailed Description

NFC device information.

Definition at line 55 of file nfc-types.h.


Field Documentation

char nfc_device_t::acName[DEVICE_NAME_LENGTH]

Device name string, including device wrapper firmware

Definition at line 59 of file nfc-types.h.

This represents if the PN53X device was initialized succesful

Definition at line 65 of file nfc-types.h.

Is the crc automaticly added, checked and removed from the frames

Definition at line 67 of file nfc-types.h.

Should the PN53x chip handle frames encapsulation and chaining

Definition at line 71 of file nfc-types.h.

Does the PN53x chip handles parity bits, all parities are handled as data

Definition at line 69 of file nfc-types.h.

Last error reported by the PCD / encountered by the PCD driver MSB LSB | 00 | 00 | || || || ++----- Chip-level error (as reported by the PCD) |+---------- Driver-level specific error +----------- Driver-level general error (common to all drivers)

Definition at line 82 of file nfc-types.h.

nfc_chip_t nfc_device_t::nc

PN53X chip type, this is useful for some "bug" work-arounds

Definition at line 61 of file nfc-types.h.

nfc_device_spec_t nfc_device_t::nds

Pointer to the device connection specification

Definition at line 63 of file nfc-types.h.

Callback functions for handling device specific wrapping

Definition at line 57 of file nfc-types.h.

The last tx bits setting, we need to reset this if it does not apply anymore

Definition at line 73 of file nfc-types.h.


The documentation for this struct was generated from the following file: