📄 mifare1.h
字号:
/****************************************
* mifare1.h *
* Designe by 刘俐训 *
* excute command for m1 card *
* check if a card is actived *
* last update: 05-01-2007 *
****************************************/
#ifndef MIFARE1_H
#define MIFARE1_H
// initialize parameters and rc500 chip
void M1Init(void);
// check if a rf card is arrived and if I have sent a notice to host
// but the host give no response, I will send the notice once every
// second untill I get a response or a command for rf card.
void M1Card(void);
// excute the command for m1 card from host
unsigned int M1Command(unsigned char *cmd, unsigned int len);
// search card
bit M1Search(unsigned char *snr);
// enable or disable auto search card option
void M1SetAutoSearchCard(bit fenable);
// set time before I can confirm a card is coming
void M1SetCardConfirmTime(unsigned int time);
// set the notice mode on rf card action
void M1SetNotice(bit fenable, bit fonce);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -