nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
st25r3911b_reg.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef ST25R3911B_REG_H_
8#define ST25R3911B_REG_H_
9
18#ifdef __cplusplus
19extern "C" {
20#endif
21
27#define ST25R3911B_CMD_SET_DEFAULT 0xC1
28#define ST25R3911B_CMD_CLEAR 0xC2
29#define ST25R3911B_CMD_TX_WITH_CRC 0xC4
30#define ST25R3911B_CMD_TX_WITHOUT_CRC 0xC5
31#define ST25R3911B_CMD_TX_REQA 0xC6
32#define ST25R3911B_CMD_TX_WUPA 0xC7
33#define ST25R3911B_CMD_NFC_INITIAL_FIELD_ON 0xC8
34#define ST25R3911B_CMD_NFC_RSP_FIELD_ON 0xC9
35#define ST25R3911B_CMD_NFC_RSP_FILED_ON_0 0xCA
36#define ST25R3911B_CMD_NORMAL_NFC_MODE 0xCB
37#define ST25R3911B_CMD_ANALOG_PRESET 0xCC
38#define ST25R3911B_CMD_MASK_RECEIVE_DATA 0xD0
39#define ST25R3911B_CMD_UMNASK_RECEIVE_DATA 0xD1
40#define ST25R3911B_CMD_MEASURE_AMPLITUDE 0xD3
41#define ST25R3911B_CMD_SQUELCH 0xD4
42#define ST25R3911B_CMD_RESET_RX_GAIN 0xD5
43#define ST25R3911B_CMD_ADJUST_REGULATOR 0xD6
44#define ST25R3911B_CMD_CALIBRATE_MODULATION 0xD7
45#define ST25R3911B_CMD_CALIBRATE_ANTENNA 0xD8
46#define ST25R3911B_CMD_MEASURE_PHASE 0xD9
47#define ST25R3911B_CMD_CLEAR_RSSI 0xDA
48#define ST25R3911B_CMD_TRANSPARENT_MODE 0xDC
49#define ST25R3911B_CMD_CALIBRATE_CAP_SENSOR 0xDD
50#define ST25R3911B_CMD_MEASURE_CAP 0xDE
51#define ST25R3911B_CMD_MEASURE_POWER_SUPPLY 0xDF
52#define ST25R3911B_CMD_START_GEN_PURPOSE_TIMER 0xE0
53#define ST25R3911B_CMD_START_WAKE_UP_TIMER 0xE1
54#define ST25R3911B_CMD_START_MASK_RX_TIMER 0xE2
55#define ST25R3911B_CMD_START_NO_RSP_TIMER 0xE3
56#define ST25R3911B_CMD_CLEAR_TEST_REG 0xFA
57#define ST25R3911B_CMD_TEST_ACCESS 0xFC
58
69#define ST25R3911B_REG_IO_CONF1 0x00
70#define ST25R3911B_REG_IO_CONF2 0x01
71#define ST25R3911B_REG_OP_CTRL 0x02
72#define ST25R3911B_REG_MODE_DEF 0x03
73#define ST25R3911B_REG_BIT_RATE 0x04
74#define ST25R3911B_REG_ISO14443A 0x05
75#define ST25R3911B_REG_ISO14443B_1 0x06
76#define ST25R3911B_REG_ISO14443B_2 0x07
77#define ST25R3911B_REG_STREAM_MODE 0x08
78#define ST25R3911B_REG_AUXILIARY 0x09
79#define ST25R3911B_REG_RX_CONF1 0x0A
80#define ST25R3911B_REG_RX_CONF2 0x0B
81#define ST25R3911B_REG_RX_CONF3 0x0C
82#define ST25R3911B_REG_RX_CONF4 0x0D
83#define ST25R3911B_REG_MASK_RX_TIM 0x0E
84#define ST25R3911B_REG_NO_RSP_TIM_REG1 0x0F
85#define ST25R3911B_REG_NO_RSP_TIM_REG2 0x10
86#define ST25R3911B_REG_TIM_CTRl 0x11
87#define ST25R3911B_REG_GPT_1 0x12
88#define ST25R3911B_REG_GPT_2 0x13
89#define ST25R3911B_REG_MASK_MAIN_INT 0x14
90#define ST25R3911B_REG_MASK_TIM_NFC_INT 0x15
91#define ST25R3911B_REG_MASK_ERR_WAKE_UP_INT 0x16
92#define ST25R3911B_REG_MAIN_INT 0x17
93#define ST25R3911B_REG_TIM_NFC_INT 0x18
94#define ST25R3911B_REG_ERR_WAKE_UP_INT 0x19
95#define ST25R3911B_REG_FIFO_STATUS_1 0x1A
96#define ST25R3911B_REG_FIFO_STATUS_2 0x1B
97#define ST25R3911B_REG_COLLISION_DISP 0x1C
98#define ST25R3911B_REG_NUM_TX_BYTES_REG1 0x1D
99#define ST25R3911B_REG_NUM_TX_BYTES_REG2 0x1E
100#define ST25R3911B_REG_NFCIP_BIT_RATE 0x1F
101#define ST25R3911B_REG_AD_CONVERTER_OUT 0x20
102#define ST25R3911B_REG_ANTENNA_CAL_CTRL 0x21
103#define ST25R3911B_REG_ANTENNA_CAL_TARGET 0x22
104#define ST25R3911B_REG_ANTENNA_CAL_DISP 0x23
105#define ST25R3911B_REG_AM_MOD_DEPTH_CTRL 0x24
106#define ST25R3911B_REG_AM_MOD_DEPTH_DISP 0x25
107#define ST25R3911B_REG_RFO_AM_LVL_DEF 0x26
108#define ST25R3911B_REG_RFO_NORMAL_LVL_DEF 0x27
109#define ST25R3911B_REG_FIELD_THRESHOLD 0x29
110#define ST25R3911B_REG_REGULATOR_CTRL 0x2A
111#define ST25R3911B_REG_REGULATOR_TIM_DISP 0x2B
112#define ST25R3911B_REG_RSSI_DISP 0x2C
113#define ST25R3911B_REG_GAIN_REDUCTION_STATE 0x2D
114#define ST25R3911B_REG_CAP_SENSOR_CTRL 0x2E
115#define ST25R3911B_REG_CAP_SENSOR_DISP 0x2F
116#define ST25R3911B_REG_AUXILIARY_DISP 0x30
117#define ST25R3911B_REG_WAKE_UP_TIM 0x31
118#define ST25R3911B_REG_AMP_MEASURE_CONF 0x32
119#define ST25R3911B_REG_AMP_MEASURE_REF 0x33
120#define ST25R3911B_REG_AMP_MEASURE_AUTO_AVE_DISP 0x34
121#define ST25R3911B_REG_AMP_MEASURE_DISP 0x35
122#define ST25R3911B_REG_PHASE_MEASURE_CONF 0x36
123#define ST25R3911B_REG_PHASE_MEASURE_REF 0x37
124#define ST25R3911B_REG_PHASE_MEASURE_AUTO_AVE_DISP 0x38
125#define ST25R3911B_REG_PHASE_MEASURE_DISP 0x39
126#define ST25R3911B_REG_CAP_MEASURE_CONF 0x3A
127#define ST25R3911B_REG_CAP_MEASURE_REF 0x3B
128#define ST25R3911B_REG_CAP_MEASURE_AUTO_AVE 0x3C
129#define ST25R3911B_REG_CAP_MEASURE_DISPLAY 0x3D
130#define ST25R3911B_REG_IC_IDENTITY 0x3F
131
140#define ST25R3911B_REG_IO_CONF1_LF_CLK_OFF BIT(0)
141#define ST25R3911B_REG_IO_CONF1_OUT_CL0 BIT(1)
142#define ST25R3911B_REG_IO_CONF1_OUT_CL1 BIT(2)
143#define ST25R3911B_REG_IO_CONF1_OSC BIT(3)
144#define ST25R3911B_REG_IO_CONF1_FIFO_LT BIT(4)
145#define ST25R3911B_REG_IO_CONF1_FIFO_LR BIT(5)
146#define ST25R3911B_REG_IO_CONF1_RFO_2 BIT(6)
147#define ST25R3911B_REG_IO_CONF1_SINGLE BIT(7)
148
157#define ST25R3911B_REG_IO_CONF2_SLOW_UP BIT(0)
158#define ST25R3911B_REG_IO_CONF2_IO_18 BIT(2)
159#define ST25R3911B_REG_IO_CONF2_MISO_PD1 BIT(3)
160#define ST25R3911B_REG_IO_CONF2_MISO_PD2 BIT(4)
161#define ST25R3911B_REG_IO_CONF2_VPSD_OFF BIT(6)
162#define ST25R3911B_REG_IO_CONF2_SUP3V BIT(7)
163
172#define ST25R3911B_REG_OP_CTRL_WU BIT(2)
173#define ST25R3911B_REG_OP_CTRL_TX_EN BIT(3)
174#define ST25R3911B_REG_OP_CTRL_RX_MAN BIT(4)
175#define ST25R3911B_REG_OP_CTRL_RX_CHN BIT(5)
176#define ST25R3911B_REG_OP_CTRL_RX_EN BIT(6)
177#define ST25R3911B_REG_OP_CTRL_EN BIT(7)
178
187#define ST25R3911B_REG_MODE_DEF_NFC_AR BIT(0)
188#define ST25R3911B_REG_MODE_DEF_OM0 BIT(3)
189#define ST25R3911B_REG_MODE_DEF_OM1 BIT(4)
190#define ST25R3911B_REG_MODE_DEF_OM2 BIT(5)
191#define ST25R3911B_REG_MODE_DEF_OM3 BIT(6)
192#define ST25R3911B_REG_MODE_DEF_TARG BIT(7)
193
202#define ST25R3911B_REG_BIT_RATE_RX_RATE0 BIT(0)
203#define ST25R3911B_REG_BIT_RATE_RX_RATE1 BIT(1)
204#define ST25R3911B_REG_BIT_RATE_RX_RATE2 BIT(2)
205#define ST25R3911B_REG_BIT_RATE_RX_RATE3 BIT(3)
206#define ST25R3911B_REG_BIT_RATE_TX_RATE0 BIT(4)
207#define ST25R3911B_REG_BIT_RATE_TX_RATE1 BIT(5)
208#define ST25R3911B_REG_BIT_RATE_TX_RATE2 BIT(6)
209#define ST25R3911B_REG_BIT_RATE_TX_RATE3 BIT(7)
210
219#define ST25R3911B_REG_ISO14443A_ANTCL BIT(0)
220#define ST25R3911B_REG_ISO14443A_PLEN0 BIT(1)
221#define ST25R3911B_REG_ISO14443A_PLEN1 BIT(2)
222#define ST25R3911B_REG_ISO14443A_PLEN2 BIT(3)
223#define ST25R3911B_REG_ISO14443A_PLEN3 BIT(4)
224#define ST25R3911B_REG_ISO14443A_NFC_F0 BIT(5)
225#define ST25R3911B_REG_ISO14443A_NFC_F0 BIT(5)
226#define ST25R3911B_REG_ISO14443A_NO_RX_PARITY BIT(6)
227#define ST25R3911B_REG_ISO14443A_NO_TX_PARITY BIT(7)
228
238#define ST25R3911B_REG_ISO14443B_1_RX_ST_OM BIT(0)
239#define ST25R3911B_REG_ISO14443B_1_HALF BIT(1)
240#define ST25R3911B_REG_ISO14443B_1_EOF BIT(2)
241#define ST25R3911B_REG_ISO14443B_1_SOF0 BIT(3)
242#define ST25R3911B_REG_ISO14443B_1_SOF1 BIT(4)
243#define ST25R3911B_REG_ISO14443B_1_EGT0 BIT(5)
244#define ST25R3911B_REG_ISO14443B_1_EGT1 BIT(6)
245#define ST25R3911B_REG_ISO14443B_1_EGT2 BIT(7)
254#define ST25R3911B_REG_ISO14443B_2_F_P0 BIT(0)
255#define ST25R3911B_REG_ISO14443B_2_F_P1 BIT(1)
256#define ST25R3911B_REG_ISO14443B_2_PHC_TH BIT(2)
257#define ST25R3911B_REG_ISO14443B_2_EOF12 BIT(3)
258#define ST25R3911B_REG_ISO14443B_2_NO_EOF BIT(4)
259#define ST25R3911B_REG_ISO14443B_2_NO_SOF BIT(5)
260#define ST25R3911B_REG_ISO14443B_2_TR1_0 BIT(6)
261#define ST25R3911B_REG_ISO14443B_2_TR2_1 BIT(7)
262
271#define ST25R3911B_REG_STREAM_MODE_STX0 BIT(0)
272#define ST25R3911B_REG_STREAM_MODE_STX1 BIT(1)
273#define ST25R3911B_REG_STREAM_MODE_STX2 BIT(2)
274#define ST25R3911B_REG_STREAM_MODE_STX3 BIT(3)
275#define ST25R3911B_REG_STREAM_MODE_SCP0 BIT(4)
276#define ST25R3911B_REG_STREAM_MODE_SCP1 BIT(5)
277#define ST25R3911B_REG_STREAM_MODE_SCF0 BIT(6)
278#define ST25R3911B_REG_STREAM_MODE_SCF1 BIT(7)
279
287#define ST25R3911B_REG_AUXILIARY_NFC_N0 BIT(0)
288#define ST25R3911B_REG_AUXILIARY_NFC_N1 BIT(1)
289#define ST25R3911B_REG_AUXILIARY_RX_TOL BIT(2)
290#define ST25R3911B_REG_AUXILIARY_OOK_HR BIT(3)
291#define ST25R3911B_REG_AUXILIARY_EN_FD BIT(4)
292#define ST25R3911B_REG_AUXILIARY_TR_AM BIT(5)
293#define ST25R3911B_REG_AUXILIARY_CRC_2_FIFO BIT(6)
294#define ST25R3911B_REG_AUXILIARY_NO_CRC_RX BIT(7)
295
304#define ST25R3911B_REG_RX_CONF1_Z12K BIT(0)
305#define ST25R3911B_REG_RX_CONF1_H80 BIT(1)
306#define ST25R3911B_REG_RX_CONF1_H200 BIT(2)
307#define ST25R3911B_REG_RX_CONF1_LP0 BIT(3)
308#define ST25R3911B_REG_RX_CONF1_LP1 BIT(4)
309#define ST25R3911B_REG_RX_CONF1_LP2 BIT(5)
310#define ST25R3911B_REG_RX_CONF1_AMD_SEL BIT(6)
311#define ST25R3911B_REG_RX_CONF1_CH_SEL BIT(7)
312
321#define ST25R3911B_REG_RX_CONF2_PMIX_CL BIT(0)
322#define ST25R3911B_REG_RX_CONF2_SQM_DYN BIT(1)
323#define ST25R3911B_REG_RX_CONF2_AGC_ALG BIT(2)
324#define ST25R3911B_REG_RX_CONF2_AGC_M BIT(3)
325#define ST25R3911B_REG_RX_CONF2_AGC_EN BIT(4)
326#define ST25R3911B_REG_RX_CONF2_LF_EN BIT(5)
327#define ST25R3911B_REG_RX_CONF2_LF_OP BIT(6)
328#define ST25R3911B_REG_RX_CONF2_RX_LP BIT(7)
329
338#define ST25R3911B_REG_RX_CONF3_RG_NFC BIT(0)
339#define ST25R3911B_REG_RX_CONF3_LIM BIT(1)
340#define ST25R3911B_REG_RX_CONF3_RG1_PM0 BIT(2)
341#define ST25R3911B_REG_RX_CONF3_RG1_PM1 BIT(3)
342#define ST25R3911B_REG_RX_CONF3_RG1_PM2 BIT(4)
343#define ST25R3911B_REG_RX_CONF3_RG1_AM0 BIT(5)
344#define ST25R3911B_REG_RX_CONF3_RG1_AM1 BIT(6)
345#define ST25R3911B_REG_RX_CONF3_RG1_AM2 BIT(7)
346
355#define ST25R3911B_REG_RX_CONF4_RG2_PM0 BIT(0)
356#define ST25R3911B_REG_RX_CONF4_RG2_PM1 BIT(1)
357#define ST25R3911B_REG_RX_CONF4_RG2_PM2 BIT(2)
358#define ST25R3911B_REG_RX_CONF4_RG2_PM3 BIT(3)
359#define ST25R3911B_REG_RX_CONF4_RG2_AM0 BIT(4)
360#define ST25R3911B_REG_RX_CONF4_RG2_AM1 BIT(5)
361#define ST25R3911B_REG_RX_CONF4_RG2_AM2 BIT(6)
362#define ST25R3911B_REG_RX_CONF4_RG2_AM3 BIT(7)
363
372#define ST25R3911B_REG_TIM_CTRl_NRT_STEP BIT(0)
373#define ST25R3911B_REG_TIM_CTRl_NRT_EMV BIT(1)
374#define ST25R3911B_REG_TIM_CTRl_GPTC0 BIT(5)
375#define ST25R3911B_REG_TIM_CTRl_GPTC1 BIT(6)
376#define ST25R3911B_REG_TIM_CTRl_GPTC2 BIT(7)
385#define ST25R3911B_REG_FIFO_STATUS_2_NP_LB BIT(0)
386#define ST25R3911B_REG_FIFO_STATUS_2_FIFO_LB0 BIT(1)
387#define ST25R3911B_REG_FIFO_STATUS_2_FIFO_LB1 BIT(2)
388#define ST25R3911B_REG_FIFO_STATUS_2_FIFO_LB2 BIT(3)
389#define ST25R3911B_REG_FIFO_STATUS_2_FIFO_NCP BIT(4)
390#define ST25R3911B_REG_FIFO_STATUS_2_FIFO_OVR BIT(5)
391#define ST25R3911B_REG_FIFO_STATUS_2_FIFO_UNF BIT(6)
392
393#define ST25R3911B_REG_FIFO_STATUS_2_FIFO_LB_MASK (0x0E)
394
403#define ST25R3911B_REG_COLLISION_DISP_C_PB BIT(0)
404#define ST25R3911B_REG_COLLISION_DISP_C_BIT0 BIT(1)
405#define ST25R3911B_REG_COLLISION_DISP_C_BIT1 BIT(2)
406#define ST25R3911B_REG_COLLISION_DISP_C_BIT2 BIT(3)
407#define ST25R3911B_REG_COLLISION_DISP_C_BYTE0 BIT(4)
408#define ST25R3911B_REG_COLLISION_DISP_C_BYTE1 BIT(5)
409#define ST25R3911B_REG_COLLISION_DISP_C_BYTE2 BIT(6)
410#define ST25R3911B_REG_COLLISION_DISP_C_BYTE3 BIT(7)
411
412#define ST25R3911B_REG_COLLISION_DISP_C_BIT_MASK (0x0D)
413#define ST25R3911B_REG_COLLISION_DISP_C_BYTE_MASK (0xF0)
414
423#define ST25R3911B_REG_NUM_TX_BYTES_REG2_NBTX (0x07)
424#define ST25R3911B_REG_NUM_TX_BYTES_REG2_NTX_MASK (0xF8)
425#define ST25R3911B_REG_NUM_TX_BYTES_NTX_SHIFT (0x03)
426#define ST25R3911B_REG_NUM_TX_BYTES_NTX_SHIFT_LSB (0x05)
427
436#define ST25R3911B_REG_NFCIP_BIT_RATE_NFC_RATE0 BIT(4)
437#define ST25R3911B_REG_NFCIP_BIT_RATE_NFC_RATE1 BIT(5)
438#define ST25R3911B_REG_NFCIP_BIT_RATE_NFC_RATE2 BIT(6)
439#define ST25R3911B_REG_NFCIP_BIT_RATE_NFC_RATE3 BIT(7)
448#define ST25R3911B_REG_ANTENNA_CAL_CTRL_TRE0 BIT(3)
449#define ST25R3911B_REG_ANTENNA_CAL_CTRL_TRE1 BIT(4)
450#define ST25R3911B_REG_ANTENNA_CAL_CTRL_TRE2 BIT(5)
451#define ST25R3911B_REG_ANTENNA_CAL_CTRL_TRE3 BIT(6)
452#define ST25R3911B_REG_ANTENNA_CAL_CTRL_TRIM_S BIT(7)
453
462#define ST25R3911B_REG_ANTENNA_CAL_DISP_TRI_ERR BIT(3)
463#define ST25R3911B_REG_ANTENNA_CAL_DISP_TRI0 BIT(4)
464#define ST25R3911B_REG_ANTENNA_CAL_DISP_TRI1 BIT(5)
465#define ST25R3911B_REG_ANTENNA_CAL_DISP_TRI2 BIT(6)
466#define ST25R3911B_REG_ANTENNA_CAL_DISP_TRI3 BIT(7)
467
476#define ST25R3911B_REG_AM_MOD_DEPTH_CTRL_MOD0 BIT(1)
477#define ST25R3911B_REG_AM_MOD_DEPTH_CTRL_MOD1 BIT(2)
478#define ST25R3911B_REG_AM_MOD_DEPTH_CTRL_MOD2 BIT(3)
479#define ST25R3911B_REG_AM_MOD_DEPTH_CTRL_MOD3 BIT(4)
480#define ST25R3911B_REG_AM_MOD_DEPTH_CTRL_MOD4 BIT(5)
481#define ST25R3911B_REG_AM_MOD_DEPTH_CTRL_MOD5 BIT(6)
482#define ST25R3911B_REG_AM_MOD_DEPTH_CTRL_AM_S BIT(7)
483
492#define ST25R3911B_REG_RFO_AM_LVL_DRAM0 BIT(0)
493#define ST25R3911B_REG_RFO_AM_LVL_DRAM1 BIT(1)
494#define ST25R3911B_REG_RFO_AM_LVL_DRAM2 BIT(2)
495#define ST25R3911B_REG_RFO_AM_LVL_DRAM3 BIT(3)
496#define ST25R3911B_REG_RFO_AM_LVL_DRAM4 BIT(4)
497#define ST25R3911B_REG_RFO_AM_LVL_DRAM5 BIT(5)
498#define ST25R3911B_REG_RFO_AM_LVL_DRAM6 BIT(6)
499#define ST25R3911B_REG_RFO_AM_LVL_DRAM7 BIT(7)
500
509#define ST25R3911B_REG_FIELD_THRESHOLD_RFE_TO BIT(0)
510#define ST25R3911B_REG_FIELD_THRESHOLD_RTE_T1 BIT(1)
511#define ST25R3911B_REG_FIELD_THRESHOLD_RTE_T2 BIT(2)
512#define ST25R3911B_REG_FIELD_THRESHOLD_RTE_T3 BIT(3)
513#define ST25R3911B_REG_FIELD_THRESHOLD_TRG_IO BIT(4)
514#define ST25R3911B_REG_FIELD_THRESHOLD_TRG_I1 BIT(5)
515#define ST25R3911B_REG_FIELD_THRESHOLD_TRG_I2 BIT(6)
516#define ST25R3911B_REG_FIELD_THRESHOLD_RFE_MASK (0x0F)
517#define ST25R3911B_REG_FIELD_THRESHOLD_TRG_MASK (0xF0)
518
527#define ST25R3911B_REG_REGULATOR_CTRL_MPSV0 BIT(1)
528#define ST25R3911B_REG_REGULATOR_CTRL_MPSV1 BIT(2)
529#define ST25R3911B_REG_REGULATOR_CTRL_MPSV_MASK (3 << 1)
530#define ST25R3911B_REG_REGULATOR_CTRL_MPSV_VDD (0 << 1)
531#define ST25R3911B_REG_REGULATOR_CTRL_MPSV_VSP_A (1 << 1)
532#define ST25R3911B_REG_REGULATOR_CTRL_MPSV_VSP_D (2 << 1)
533#define ST25R3911B_REG_REGULATOR_CTRL_MPSV_VSP_RF (3 << 1)
534#define ST25R3911B_REG_REGULATOR_CTRL_REGE0 BIT(3)
535#define ST25R3911B_REG_REGULATOR_CTRL_REGE2 BIT(4)
536#define ST25R3911B_REG_REGULATOR_CTRL_REGE3 BIT(5)
537#define ST25R3911B_REG_REGULATOR_CTRL_REG_S BIT(6)
538
547#define ST25R3911B_REG_REGULATOR_TIM_DISP_MRT_ON BIT(0)
548#define ST25R3911B_REG_REGULATOR_TIM_DISP_NRT_ON BIT(1)
549#define ST25R3911B_REG_REGULATOR_TIM_DISP_GPT_ON BIT(2)
550#define ST25R3911B_REG_REGULATOR_TIM_DISP_REG_0 BIT(4)
551#define ST25R3911B_REG_REGULATOR_TIM_DISP_REG_1 BIT(5)
552#define ST25R3911B_REG_REGULATOR_TIM_DISP_REG_2 BIT(6)
553#define ST25R3911B_REG_REGULATOR_TIM_DISP_REG_3 BIT(7)
554#define ST25R3911B_REG_REGULATOR_TIM_DISP_REG_POS (4)
555
563#define ST25R3911B_REG_RSSI_DISP_RSSI_PM0 BIT(0)
564#define ST25R3911B_REG_RSSI_DISP_RSSI_PM1 BIT(1)
565#define ST25R3911B_REG_RSSI_DISP_RSSI_PM2 BIT(2)
566#define ST25R3911B_REG_RSSI_DISP_RSSI_PM3 BIT(3)
567#define ST25R3911B_REG_RSSI_DISP_RSSI_AM0 BIT(4)
568#define ST25R3911B_REG_RSSI_DISP_RSSI_AM1 BIT(5)
569#define ST25R3911B_REG_RSSI_DISP_RSSI_AM2 BIT(6)
570#define ST25R3911B_REG_RSSI_DISP_RSSI_AM3 BIT(7)
579#define ST25R3911B_REG_GAIN_REDUCTION_STATE_GS_PM0 BIT(0)
580#define ST25R3911B_REG_GAIN_REDUCTION_STATE_GS_PM1 BIT(1)
581#define ST25R3911B_REG_GAIN_REDUCTION_STATE_GS_PM2 BIT(2)
582#define ST25R3911B_REG_GAIN_REDUCTION_STATE_GS_PM3 BIT(3)
583#define ST25R3911B_REG_GAIN_REDUCTION_STATE_GS_AM0 BIT(4)
584#define ST25R3911B_REG_GAIN_REDUCTION_STATE_GS_AM1 BIT(5)
585#define ST25R3911B_REG_GAIN_REDUCTION_STATE_GS_AM2 BIT(6)
586#define ST25R3911B_REG_GAIN_REDUCTION_STATE_GS_AM3 BIT(7)
587
596#define ST25R3911B_REG_CAP_SENSOR_CTRL_CS_G0 BIT(0)
597#define ST25R3911B_REG_CAP_SENSOR_CTRL_CS_G1 BIT(1)
598#define ST25R3911B_REG_CAP_SENSOR_CTRL_CS_G2 BIT(2)
599#define ST25R3911B_REG_CAP_SENSOR_CTRL_CS_MCAL0 BIT(3)
600#define ST25R3911B_REG_CAP_SENSOR_CTRL_CS_MCAL1 BIT(4)
601#define ST25R3911B_REG_CAP_SENSOR_CTRL_CS_MCAL2 BIT(5)
602#define ST25R3911B_REG_CAP_SENSOR_CTRL_CS_MCAL3 BIT(6)
603#define ST25R3911B_REG_CAP_SENSOR_CTRL_CS_MACAL4 BIT(7)
604
613#define ST25R3911B_REG_CAP_SENSOR_DISP_CS_CAL_ERR BIT(1)
614#define ST25R3911B_REG_CAP_SENSOR_DISP_CS_CAL_END BIT(2)
615#define ST25R3911B_REG_CAP_SENSOR_DISP_CS_CAL0 BIT(3)
616#define ST25R3911B_REG_CAP_SENSOR_DISP_CS_CAL1 BIT(4)
617#define ST25R3911B_REG_CAP_SENSOR_DISP_CS_CAL2 BIT(5)
618#define ST25R3911B_REG_CAP_SENSOR_DISP_CS_CAL3 BIT(6)
619#define ST25R3911B_REG_CAP_SENSOR_DISP_CS_CAL4 BIT(7)
620
629#define ST25R3911B_REG_AUXILIARY_DISP_EN_AC BIT(0)
630#define ST25R3911B_REG_AUXILIARY_DISP_NFC_T BIT(1)
631#define ST25R3911B_REG_AUXILIARY_DISP_RX_ACT BIT(2)
632#define ST25R3911B_REG_AUXILIARY_DISP_RX_ON BIT(3)
633#define ST25R3911B_REG_AUXILIARY_DISP_OSC_OK BIT(4)
634#define ST25R3911B_REG_AUXILIARY_DISP_TX_ON BIT(5)
635#define ST25R3911B_REG_AUXILIARY_DISP_EFD_O BIT(6)
636#define ST25R3911B_REG_AUXILIARY_DISP_A_CHA BIT(7)
637
646#define ST25R3911B_REG_WAKE_UP_TIM_WCAP BIT(0)
647#define ST25R3911B_REG_WAKE_UP_TIM_WPH BIT(1)
648#define ST25R3911B_REG_WAKE_UP_TIM_WAM BIT(2)
649#define ST25R3911B_REG_WAKE_UP_TIM_WTO BIT(3)
650#define ST25R3911B_REG_WAKE_UP_TIM_WUT0 BIT(4)
651#define ST25R3911B_REG_WAKE_UP_TIM_WUT1 BIT(5)
652#define ST25R3911B_REG_WAKE_UP_TIM_WUT2 BIT(6)
653#define ST25R3911B_REG_WAKE_UP_TIM_WUR BIT(7)
654
663#define ST25R3911B_REG_AMP_MEASURE_CONF_AM_AE BIT(0)
664#define ST25R3911B_REG_AMP_MEASURE_CONF_AEW2 BIT(1)
665#define ST25R3911B_REG_AMP_MEASURE_CONF_AEW1 BIT(2)
666#define ST25R3911B_REG_AMP_MEASURE_CONF_AAM BIT(3)
667#define ST25R3911B_REG_AMP_MEASURE_CONF_AM_DO BIT(4)
668#define ST25R3911B_REG_AMP_MEASURE_CONF_AM_D1 BIT(5)
669#define ST25R3911B_REG_AMP_MEASURE_CONF_AM_D2 BIT(6)
670#define ST25R3911B_REG_AMP_MEASURE_CONF_AM_D3 BIT(7)
671
680#define ST25R3911B_REG_CONF_PM_AE BIT(0)
681#define ST25R3911B_REG_CONF_PM_AEW0 BIT(1)
682#define ST25R3911B_REG_CONF_PM_AEW1 BIT(2)
683#define ST25R3911B_REG_CONF_PM_AAM BIT(3)
684#define ST25R3911B_REG_CONF_PM_D0 BIT(4)
685#define ST25R3911B_REG_CONF_PM_D1 BIT(5)
686#define ST25R3911B_REG_CONF_PM_D2 BIT(6)
687#define ST25R3911B_REG_CONF_PM_D3 BIT(7)
688
697#define ST25R3911B_REG_CONF_CM_AE BIT(0)
698#define ST25R3911B_REG_CONF_CM_AEW0 BIT(1)
699#define ST25R3911B_REG_CONF_CM_AEW1 BIT(2)
700#define ST25R3911B_REG_CONF_CM_AAM BIT(3)
701#define ST25R3911B_REG_CONF_CM_CM_DO BIT(4)
702#define ST25R3911B_REG_CONF_CM_CM_D1 BIT(5)
703#define ST25R3911B_REG_CONF_CM_CM_D2 BIT(6)
704#define ST25R3911B_REG_CONF_CM_CM_D3 BIT(7)
705
714#define ST25R3911B_REG_IC_IDENTITY_IC_REV BIT(0)
715#define ST25R3911B_REG_IC_IDENTITY_IC_REV_MASK (0x03)
716#define ST25R3911B_REG_IC_IDENTITY_IC_TYPE BIT(3)
717#define ST25R3911B_REG_IC_IDENTITY_IC_TYPE_MASK (0xF1)
718
723#ifdef __cplusplus
724}
725#endif
726
731#endif /* ST25R3911B_REG_H_ */