AppNearMe µNFC stack for the NXP PN532 chip License: You can use the stack free of charge to prototype with mbed; if you want to use the stack with your commercial product, get in touch!

Dependents:   IOT_sensor_nfc AppNearMe_MuNFC_PN532_Test p2p_nfc_test NFCMoodLamp ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pn512_hw.h Source File

pn512_hw.h

00001 /*
00002   pn512_hw.h
00003   Copyright (c) Donatien Garnier 2012
00004   donatien.garnier@appnearme.com
00005   http://www.appnearme.com/
00006 */
00007 
00008 
00009 #ifndef PN512_HW_H_
00010 #define PN512_HW_H_
00011 
00012 #ifdef __cplusplus
00013 extern "C" {
00014 #endif
00015 
00016 void pn512_hw_init(void);
00017 
00018 void pn512_hw_write(uint8_t addr, uint8_t* buf, size_t len);
00019 void pn512_hw_read(uint8_t addr, uint8_t* buf, size_t len);
00020 
00021 bool pn512_hw_irq_state(void);
00022 
00023 #ifdef __cplusplus
00024 }
00025 #endif
00026 
00027 #endif /* PN512_HW_H_ */