mifare1.h.bak
来自「mifarea卡程序mifarea卡程序mifarea卡程序」· BAK 代码 · 共 38 行
BAK
38 行
/****************************************
* mifare1.h *
* Designe by 刘俐训 *
* excute command for m1 card *
* check if a card is actived *
* last update: 04-08-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 + =
减小字号Ctrl + -
显示快捷键?