8 #ifndef MIFAREULTRALIGHT_H_ 9 #define MIFAREULTRALIGHT_H_ 11 #include "Application.h" 12 #include "ISO14443-3A.h" 14 #define MIFARE_ULTRALIGHTC_UID_SIZE ISO14443A_UID_SIZE_DOUBLE 15 #define MIFARE_ULTRALIGHTC_PAGE_SIZE 4 16 #define MIFARE_ULTRALIGHTC_PAGES 48 17 #define MIFARE_ULTRALIGHTC_MEM_SIZE (MIFARE_ULTRALIGHTC_PAGES * MIFARE_ULTRALIGHTC_PAGE_SIZE) 19 #define MIFARE_ULTRALIGHT_UID_SIZE ISO14443A_UID_SIZE_DOUBLE 20 #define MIFARE_ULTRALIGHT_PAGE_SIZE 4 21 #define MIFARE_ULTRALIGHT_PAGES 16 22 #define MIFARE_ULTRALIGHT_EV11_PAGES 20 23 #define MIFARE_ULTRALIGHT_EV12_PAGES 41 24 #define MIFARE_ULTRALIGHT_MEM_SIZE (MIFARE_ULTRALIGHT_PAGES * MIFARE_ULTRALIGHT_PAGE_SIZE) 25 #define MIFARE_ULTRALIGHT_EV11_MEM_SIZE (MIFARE_ULTRALIGHT_EV11_PAGES * MIFARE_ULTRALIGHT_PAGE_SIZE) 26 #define MIFARE_ULTRALIGHT_EV12_MEM_SIZE (MIFARE_ULTRALIGHT_EV12_PAGES * MIFARE_ULTRALIGHT_PAGE_SIZE) 28 void MifareUltralightAppInit(
void);
29 void MifareUltralightEV11AppInit(
void);
30 void MifareUltralightEV12AppInit(
void);
31 void MifareUltralightAppReset(
void);
32 void MifareUltralightAppTask(
void);
34 void MifareUltralightCAppInit(
void);
35 void MifareUltralightCAppReset(
void);
37 uint16_t MifareUltralightAppProcess(uint8_t *Buffer, uint16_t BitCount);
39 void MifareUltralightGetUid(ConfigurationUidType Uid);
40 void MifareUltralightSetUid(ConfigurationUidType Uid);