Loading...
Searching...
No Matches
iso14443_3b_i.h
1#pragma once
2
3#include "iso14443_3b.h"
4
5#define ISO14443_3B_UID_SIZE (4U)
6#define ISO14443_3B_APP_DATA_SIZE (4U)
7
8#define ISO14443_3B_GUARD_TIME_US (5000U)
9#define ISO14443_3B_FDT_POLL_FC (9000U)
10#define ISO14443_3B_POLL_POLL_MIN_US (1280U)
11
12#define ISO14443_3B_BIT_RATE_BOTH_106KBIT (0U << 0)
13#define ISO14443_3B_BIT_RATE_PCD_TO_PICC_212KBIT (1U << 0)
14#define ISO14443_3B_BIT_RATE_PCD_TO_PICC_424KBIT (1U << 1)
15#define ISO14443_3B_BIT_RATE_PCD_TO_PICC_848KBIT (1U << 2)
16#define ISO14443_3B_BIT_RATE_PICC_TO_PCD_212KBIT (1U << 4)
17#define ISO14443_3B_BIT_RATE_PICC_TO_PCD_424KBIT (1U << 5)
18#define ISO14443_3B_BIT_RATE_PICC_TO_PCD_848KBIT (1U << 6)
19#define ISO14443_3B_BIT_RATE_BOTH_SAME_COMPULSORY (1U << 7)
20
21#define ISO14443_3B_FRAME_OPTION_NAD (1U << 1)
22#define ISO14443_3B_FRAME_OPTION_CID (1U << 0)
23
24typedef struct {
25 uint8_t bit_rate_capability;
26 uint8_t protocol_type : 4;
27 uint8_t max_frame_size : 4;
28 uint8_t fo : 2;
29 uint8_t adc : 2;
30 uint8_t fwi : 4;
32
34 uint8_t uid[ISO14443_3B_UID_SIZE];
35 uint8_t app_data[ISO14443_3B_APP_DATA_SIZE];
36 Iso14443_3bProtocolInfo protocol_info;
37};
Definition iso14443_3b_i.h:33
Definition iso14443_3b_i.h:24