bf16-mspcontrol.h 826 B

12345678910111213141516171819
  1. #ifndef BF16_MSPCONTROL_H
  2. #define BF16_MSPCONTROL_H
  3. #include "driver-bitfury16.h"
  4. void parse_board_detect(struct cgpu_info *bitfury, uint8_t board_id, char* data);
  5. void get_board_info(struct cgpu_info *bitfury, uint8_t board_id);
  6. int8_t parse_hwstats(struct bitfury16_info *info, uint8_t board_id, char* data);
  7. int8_t enable_power_chain(struct cgpu_info *bitfury, uint8_t board_id, uint8_t chain);
  8. int8_t disable_power_chain(struct cgpu_info *bitfury, uint8_t board_id, uint8_t chain);
  9. void led_red_enable(struct bitfury16_info *info);
  10. void led_red_disable(struct bitfury16_info *info);
  11. void led_green_enable(struct bitfury16_info *info);
  12. void led_green_disable(struct bitfury16_info *info);
  13. void buzzer_enable(struct bitfury16_info *info);
  14. void buzzer_disable(struct bitfury16_info *info);
  15. #endif /* BF16_MSPCONTROL_H */