pe43711.h 627 B

12345678910111213141516171819202122
  1. #include "tmsgheaders.h"
  2. #define PE43711_1_ADDR 0x1C
  3. #define PE43711_2_ADDR 0x20
  4. #define PE43711_ATTEN_0DB 0
  5. #define PE43711_ATTEN_025DB 1
  6. #define PE43711_ATTEN_05DB 2
  7. #define PE43711_ATTEN_1DB 4
  8. #define PE43711_ATTEN_2DB 8
  9. #define PE43711_ATTEN_4DB 16
  10. #define PE43711_ATTEN_8DB 32
  11. #define PE43711_ATTEN_16DB 64
  12. #define PE43711_ATTEN_3175DB 127
  13. void pe43711_att_1_init(void *bar1);
  14. void pe43711_att_2_init(void *bar1);
  15. void pe43711_att_1_set(void *bar1, uint8_t atten);
  16. void pe43711_att_2_set(void *bar1, uint8_t atten);