Subversion Repositories HomeAutomation

Rev

Rev 2032 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1. /*
  2.  * rfid.h
  3.  *
  4.  *  Created on: May 6, 2012
  5.  *      Author: pengi
  6.  */
  7.  
  8. #ifndef RFID_H_
  9. #define RFID_H_
  10.  
  11. #include <inttypes.h>
  12.  
  13. #define RFID_FREQ       125000L
  14. #define RFID_BITLENGTH      32
  15. #define RFID_OSR        4
  16.  
  17. void rfid_init( void );
  18. uint8_t rfid_fetch( uint8_t *version, uint32_t *tag );
  19.  
  20. #endif /* RFID_H_ */
  21.