t5577_config.h 497 B

12345678910111213141516171819202122232425
  1. #ifndef T5577_CONFIG_H
  2. #define T5577_CONFIG_H
  3. #include <stdint.h>
  4. #include <stdio.h>
  5. #include <lib/lfrfid/tools/t5577.h>
  6. #define MODULATION_NUM 11
  7. #define CLOCK_NUM 8
  8. typedef struct {
  9. char* modulation_name;
  10. uint32_t mod_page_zero;
  11. } t5577_modulation;
  12. extern const t5577_modulation all_mods[MODULATION_NUM];
  13. typedef struct {
  14. uint8_t rf_clock_num;
  15. uint32_t clock_page_zero;
  16. } t5577_rf_clock;
  17. extern const t5577_rf_clock all_rf_clocks[CLOCK_NUM];
  18. #endif // T5577_CONFIG_H