nfc6 2.1.0.0
NFC 6 Registers Settings

Settings for registers of NFC 6 Click driver. More...

Macros

#define NFC6_RSP_FIXED_BYTES   0x80
 NFC 6 response setting.
 
#define NFC6_RSP_FIXED_BYTES_MASK   0x8F
 
#define NFC6_RSP_LONG_FRAME_MASK   0x60
 
#define NFC6_RSP_OK   0x00
 
#define NFC6_RSP_ECHO   0x55
 
#define NFC6_RSP_MAX_DATA_LEN   528u
 
#define NFC6_RSP_READY_TIMEOUT_MS   5000ul
 
#define NFC6_IDLE_CMD_LENGTH   14
 NFC 6 IDLE command setting for calibration of tag detector.
 
#define NFC6_IDLE_CMD_WU_SOURCE   0x03
 
#define NFC6_IDLE_CMD_ENTER_CTRL_L   0xA1
 
#define NFC6_IDLE_CMD_ENTER_CTRL_H   0x00
 
#define NFC6_IDLE_CMD_WU_CTRL_L   0xF8
 
#define NFC6_IDLE_CMD_WU_CTRL_H   0x01
 
#define NFC6_IDLE_CMD_LEAVE_CTRL_L   0x18
 
#define NFC6_IDLE_CMD_LEAVE_CTRL_H   0x00
 
#define NFC6_IDLE_CMD_WU_PERIOD   0x20
 
#define NFC6_IDLE_CMD_OSC_START   0x60
 
#define NFC6_IDLE_CMD_DAC_START   0x60
 
#define NFC6_IDLE_CMD_DAC_DATA_L   0x00
 
#define NFC6_IDLE_CMD_DAC_DATA_H   0x00
 
#define NFC6_IDLE_CMD_DAC_DATA_H_MIN   0x00
 
#define NFC6_IDLE_CMD_DAC_DATA_H_MAX   0xFC
 
#define NFC6_IDLE_CMD_SWINGS_CNT   0x3F
 
#define NFC6_IDLE_CMD_MAX_SLEEP   0x01
 
#define NFC6_IDLE_RSP_TIMEOUT   0x01
 
#define NFC6_IDLE_RSP_TAG_DETECT   0x02
 
#define NFC6_IDLE_RSP_LENGTH   1
 
#define NFC6_IDLE_CALIB_START   0x80
 
#define NFC6_PROTOCOL_FIELD_OFF   0
 NFC 6 protocol selection setting.
 
#define NFC6_PROTOCOL_ISO_15693   1
 
#define NFC6_PROTOCOL_ISO_14443A   2
 
#define NFC6_PROTOCOL_ISO_14443B   3
 
#define NFC6_PROTOCOL_FELICA   4
 
#define NFC6_TAG_UID_RSP_MAX_DATA_LEN   10
 NFC 6 MIFARE classic setting.
 
#define NFC6_TAG_UID_MAX_LEN   7
 
#define NFC6_MIFARE_REQA   0x26
 
#define NFC6_MIFARE_REQA_LEN   0x07
 
#define NFC6_MIFARE_WUPA   0x52
 
#define NFC6_MIFARE_CL1   0x93
 
#define NFC6_MIFARE_CL2   0x95
 
#define NFC6_MIFARE_ANTICOLLISION   0x20
 
#define NFC6_MIFARE_ANTICOLLISION_LEN   0x08
 
#define NFC6_MIFARE_SELECT   0x70
 
#define NFC6_MIFARE_CASCADE_TAG   0x88
 
#define NFC6_MIFARE_READ   0x30
 
#define NFC6_MIFARE_WRITE   0xA0
 
#define NFC6_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define NFC6_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of NFC 6 Click driver.

Macro Definition Documentation

◆ NFC6_IDLE_CALIB_START

#define NFC6_IDLE_CALIB_START   0x80

◆ NFC6_IDLE_CMD_DAC_DATA_H

#define NFC6_IDLE_CMD_DAC_DATA_H   0x00

◆ NFC6_IDLE_CMD_DAC_DATA_H_MAX

#define NFC6_IDLE_CMD_DAC_DATA_H_MAX   0xFC

◆ NFC6_IDLE_CMD_DAC_DATA_H_MIN

#define NFC6_IDLE_CMD_DAC_DATA_H_MIN   0x00

◆ NFC6_IDLE_CMD_DAC_DATA_L

#define NFC6_IDLE_CMD_DAC_DATA_L   0x00

◆ NFC6_IDLE_CMD_DAC_START

#define NFC6_IDLE_CMD_DAC_START   0x60

◆ NFC6_IDLE_CMD_ENTER_CTRL_H

#define NFC6_IDLE_CMD_ENTER_CTRL_H   0x00

◆ NFC6_IDLE_CMD_ENTER_CTRL_L

#define NFC6_IDLE_CMD_ENTER_CTRL_L   0xA1

◆ NFC6_IDLE_CMD_LEAVE_CTRL_H

#define NFC6_IDLE_CMD_LEAVE_CTRL_H   0x00

◆ NFC6_IDLE_CMD_LEAVE_CTRL_L

#define NFC6_IDLE_CMD_LEAVE_CTRL_L   0x18

◆ NFC6_IDLE_CMD_LENGTH

#define NFC6_IDLE_CMD_LENGTH   14

NFC 6 IDLE command setting for calibration of tag detector.

Specified IDLE command setting for calibration of tag detector of NFC 6 Click driver.

◆ NFC6_IDLE_CMD_MAX_SLEEP

#define NFC6_IDLE_CMD_MAX_SLEEP   0x01

◆ NFC6_IDLE_CMD_OSC_START

#define NFC6_IDLE_CMD_OSC_START   0x60

◆ NFC6_IDLE_CMD_SWINGS_CNT

#define NFC6_IDLE_CMD_SWINGS_CNT   0x3F

◆ NFC6_IDLE_CMD_WU_CTRL_H

#define NFC6_IDLE_CMD_WU_CTRL_H   0x01

◆ NFC6_IDLE_CMD_WU_CTRL_L

#define NFC6_IDLE_CMD_WU_CTRL_L   0xF8

◆ NFC6_IDLE_CMD_WU_PERIOD

#define NFC6_IDLE_CMD_WU_PERIOD   0x20

◆ NFC6_IDLE_CMD_WU_SOURCE

#define NFC6_IDLE_CMD_WU_SOURCE   0x03

◆ NFC6_IDLE_RSP_LENGTH

#define NFC6_IDLE_RSP_LENGTH   1

◆ NFC6_IDLE_RSP_TAG_DETECT

#define NFC6_IDLE_RSP_TAG_DETECT   0x02

◆ NFC6_IDLE_RSP_TIMEOUT

#define NFC6_IDLE_RSP_TIMEOUT   0x01

◆ NFC6_MIFARE_ANTICOLLISION

#define NFC6_MIFARE_ANTICOLLISION   0x20

◆ NFC6_MIFARE_ANTICOLLISION_LEN

#define NFC6_MIFARE_ANTICOLLISION_LEN   0x08

◆ NFC6_MIFARE_CASCADE_TAG

#define NFC6_MIFARE_CASCADE_TAG   0x88

◆ NFC6_MIFARE_CL1

#define NFC6_MIFARE_CL1   0x93

◆ NFC6_MIFARE_CL2

#define NFC6_MIFARE_CL2   0x95

◆ NFC6_MIFARE_READ

#define NFC6_MIFARE_READ   0x30

◆ NFC6_MIFARE_REQA

#define NFC6_MIFARE_REQA   0x26

◆ NFC6_MIFARE_REQA_LEN

#define NFC6_MIFARE_REQA_LEN   0x07

◆ NFC6_MIFARE_SELECT

#define NFC6_MIFARE_SELECT   0x70

◆ NFC6_MIFARE_WRITE

#define NFC6_MIFARE_WRITE   0xA0

◆ NFC6_MIFARE_WUPA

#define NFC6_MIFARE_WUPA   0x52

◆ NFC6_PROTOCOL_FELICA

#define NFC6_PROTOCOL_FELICA   4

◆ NFC6_PROTOCOL_FIELD_OFF

#define NFC6_PROTOCOL_FIELD_OFF   0

NFC 6 protocol selection setting.

Specified protocol selection setting of NFC 6 Click driver.

◆ NFC6_PROTOCOL_ISO_14443A

#define NFC6_PROTOCOL_ISO_14443A   2

◆ NFC6_PROTOCOL_ISO_14443B

#define NFC6_PROTOCOL_ISO_14443B   3

◆ NFC6_PROTOCOL_ISO_15693

#define NFC6_PROTOCOL_ISO_15693   1

◆ NFC6_RSP_ECHO

#define NFC6_RSP_ECHO   0x55

◆ NFC6_RSP_FIXED_BYTES

#define NFC6_RSP_FIXED_BYTES   0x80

NFC 6 response setting.

Specified response setting of NFC 6 Click driver.

◆ NFC6_RSP_FIXED_BYTES_MASK

#define NFC6_RSP_FIXED_BYTES_MASK   0x8F

◆ NFC6_RSP_LONG_FRAME_MASK

#define NFC6_RSP_LONG_FRAME_MASK   0x60

◆ NFC6_RSP_MAX_DATA_LEN

#define NFC6_RSP_MAX_DATA_LEN   528u

◆ NFC6_RSP_OK

#define NFC6_RSP_OK   0x00

◆ NFC6_RSP_READY_TIMEOUT_MS

#define NFC6_RSP_READY_TIMEOUT_MS   5000ul

◆ NFC6_SET_DATA_SAMPLE_EDGE

#define NFC6_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with nfc6_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ NFC6_SET_DATA_SAMPLE_MIDDLE

#define NFC6_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ NFC6_TAG_UID_MAX_LEN

#define NFC6_TAG_UID_MAX_LEN   7

◆ NFC6_TAG_UID_RSP_MAX_DATA_LEN

#define NFC6_TAG_UID_RSP_MAX_DATA_LEN   10

NFC 6 MIFARE classic setting.

Specified MIFARE classic setting of NFC 6 Click driver.