Loading...
Searching...
No Matches
iso14443_4a_i.h
1#pragma once
2
3#include "iso14443_4a.h"
4
5#define ISO14443_4A_CMD_READ_ATS (0xE0)
6
7// ATS bit definitions
8#define ISO14443_4A_ATS_T0_TA1 (1U << 4)
9#define ISO14443_4A_ATS_T0_TB1 (1U << 5)
10#define ISO14443_4A_ATS_T0_TC1 (1U << 6)
11
12#define ISO14443_4A_ATS_TA1_BOTH_106KBIT (0U << 0)
13#define ISO14443_4A_ATS_TA1_PCD_TO_PICC_212KBIT (1U << 0)
14#define ISO14443_4A_ATS_TA1_PCD_TO_PICC_424KBIT (1U << 1)
15#define ISO14443_4A_ATS_TA1_PCD_TO_PICC_848KBIT (1U << 2)
16#define ISO14443_4A_ATS_TA1_PICC_TO_PCD_212KBIT (1U << 4)
17#define ISO14443_4A_ATS_TA1_PICC_TO_PCD_424KBIT (1U << 5)
18#define ISO14443_4A_ATS_TA1_PICC_TO_PCD_848KBIT (1U << 6)
19#define ISO14443_4A_ATS_TA1_BOTH_SAME_COMPULSORY (1U << 7)
20
21#define ISO14443_4A_ATS_TC1_NAD (1U << 0)
22#define ISO14443_4A_ATS_TC1_CID (1U << 1)
23
24bool iso14443_4a_ats_parse(Iso14443_4aAtsData* data, const BitBuffer* buf);
25
26Iso14443_4aError iso14443_4a_process_error(Iso14443_3aError error);
Definition bit_buffer.c:7
Definition iso14443_4a.h:33