Pinconfig für Endbadge.
[hackover2013-badge-firmware.git] / drivers / rf / pn532 / helpers / pn532_mifare.h
1 /**************************************************************************/
2 /*!
3 @file pn532_mifare.h
4 */
5 /**************************************************************************/
6
7 #ifndef __PN532_MIFARE_H__
8 #define __PN532_MIFARE_H__
9
10 #include "projectconfig.h"
11
12 // These may need to be enlarged for multi card support
13 #define PN532_RESPONSELEN_INLISTPASSIVETARGET (64)
14 #define PN532_RESPONSELEN_INDATAEXCHANGE (64)
15
16 typedef enum pn532_mifare_cmd_e
17 {
18 PN532_MIFARE_CMD_AUTH_A = 0x60,
19 PN532_MIFARE_CMD_AUTH_B = 0x61,
20 PN532_MIFARE_CMD_READ = 0x30,
21 PN532_MIFARE_CMD_WRITE = 0xA0,
22 PN532_MIFARE_CMD_TRANSFER = 0xB0,
23 PN532_MIFARE_CMD_DECREMENT = 0xC0,
24 PN532_MIFARE_CMD_INCREMENT = 0xC1,
25 PN532_MIFARE_CMD_STORE = 0xC2
26 }
27 pn532_mifare_cmd_t;
28
29 #endif
This page took 0.057971 seconds and 5 git commands to generate.