pe43711.h 656 B

1234567891011121314151617181920212223
  1. #ifndef PE43711_H
  2. #define PE43711_H
  3. #include "pci.h"
  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(reg_addr_pci* pci_bar_1);
  14. void pe43711_att_2_init(reg_addr_pci* pci_bar_1);
  15. void pe43711_att_1_set(reg_addr_pci* pci_bar_1, uint8_t atten);
  16. void pe43711_att_2_set(reg_addr_pci* pci_bar_1, uint8_t atten);
  17. #endif /* PE43711_H */