mirror of
https://github.com/RfidResearchGroup/ChameleonMini.git
synced 2026-05-12 11:20:37 -07:00
Requires enabling in Makefile and disabling other options to fit in program space below 64k
27 lines
651 B
C
27 lines
651 B
C
/*
|
|
* IClass.c
|
|
*
|
|
* Created on: 17-05-2020
|
|
* Author: NVX
|
|
*/
|
|
|
|
#ifndef ICLASS_H_
|
|
#define ICLASS_H_
|
|
|
|
#include "Application.h"
|
|
|
|
#define ICLASS_BLOCK_SIZE 8
|
|
#define ICLASS_CSN_SIZE ICLASS_BLOCK_SIZE
|
|
#define ICLASS_BLOCK_NUM 32
|
|
#define ICLASS_MEM_SIZE ( ICLASS_BLOCK_SIZE * ICLASS_BLOCK_NUM )
|
|
#define ICLASS_READ4_SIZE ( ICLASS_BLOCK_SIZE * 4 )
|
|
|
|
void IClassAppInit(void);
|
|
void IClassAppReset(void);
|
|
void IClassDetectionInit(void);
|
|
uint16_t IClassAppProcess(uint8_t *FrameBuf, uint16_t FrameBytes);
|
|
void IClassGetCsn(ConfigurationUidType Uid);
|
|
void IClassSetCsn(const ConfigurationUidType Uid);
|
|
|
|
#endif /* ICLASS_H_ */
|