| 1234567891011121314151617181920212223 |
- #ifndef PE43711_H
- #define PE43711_H
- #include "pci.h"
- #define PE43711_ATTEN_0DB 0
- #define PE43711_ATTEN_025DB 1
- #define PE43711_ATTEN_05DB 2
- #define PE43711_ATTEN_1DB 4
- #define PE43711_ATTEN_2DB 8
- #define PE43711_ATTEN_4DB 16
- #define PE43711_ATTEN_8DB 32
- #define PE43711_ATTEN_16DB 64
- #define PE43711_ATTEN_3175DB 127
- void pe43711_att_1_init(reg_addr_pci* pci_bar_1);
- void pe43711_att_2_init(reg_addr_pci* pci_bar_1);
- void pe43711_att_1_set(reg_addr_pci* pci_bar_1, uint8_t atten);
- void pe43711_att_2_set(reg_addr_pci* pci_bar_1, uint8_t atten);
- #endif /* PE43711_H */
|