* drivers: expose st25r3916 driver API * nfc poller: add start with custom callback * mf classic: rework sync API with poller custom start * mf ultralight: rework sync API with poller custom start * iso14443_3a poller: remove unused col res state * nfc: rework nfc poller custom start * mf ultralight: rename sync API * mf classic: rename sync API * iso14443-3a: rename sync API * nfc: remove async prefix in internal functions * nfc: expose internal API * nfc: fix sync api include and docs * targets: fix f18 build * nfc: rework NfcGenericEventEx type * nfc poller: add documentation * iso14443-3a poller: add documentation * felica poller: add documentation * iso14443_3b poller: add documentation * so14443_4a poller: add documentation * iso14443_4b poller: add documentation * iso15693 poller: add documentation * slix poller: add documentation * mf desfire poller: add documentation * mf ultralight poller: fix API and add documentation * mf classic poller: add documentation Co-authored-by: あく <alleteam@gmail.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			917 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			917 B
		
	
	
	
		
			C
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include "iso14443_4a.h"
 | 
						|
 | 
						|
#define ISO14443_4A_CMD_READ_ATS (0xE0)
 | 
						|
 | 
						|
// ATS bit definitions
 | 
						|
#define ISO14443_4A_ATS_T0_TA1 (1U << 4)
 | 
						|
#define ISO14443_4A_ATS_T0_TB1 (1U << 5)
 | 
						|
#define ISO14443_4A_ATS_T0_TC1 (1U << 6)
 | 
						|
 | 
						|
#define ISO14443_4A_ATS_TA1_BOTH_106KBIT (0U << 0)
 | 
						|
#define ISO14443_4A_ATS_TA1_PCD_TO_PICC_212KBIT (1U << 0)
 | 
						|
#define ISO14443_4A_ATS_TA1_PCD_TO_PICC_424KBIT (1U << 1)
 | 
						|
#define ISO14443_4A_ATS_TA1_PCD_TO_PICC_848KBIT (1U << 2)
 | 
						|
#define ISO14443_4A_ATS_TA1_PICC_TO_PCD_212KBIT (1U << 4)
 | 
						|
#define ISO14443_4A_ATS_TA1_PICC_TO_PCD_424KBIT (1U << 5)
 | 
						|
#define ISO14443_4A_ATS_TA1_PICC_TO_PCD_848KBIT (1U << 6)
 | 
						|
#define ISO14443_4A_ATS_TA1_BOTH_SAME_COMPULSORY (1U << 7)
 | 
						|
 | 
						|
#define ISO14443_4A_ATS_TC1_NAD (1U << 0)
 | 
						|
#define ISO14443_4A_ATS_TC1_CID (1U << 1)
 | 
						|
 | 
						|
bool iso14443_4a_ats_parse(Iso14443_4aAtsData* data, const BitBuffer* buf);
 | 
						|
 | 
						|
Iso14443_4aError iso14443_4a_process_error(Iso14443_3aError error);
 |