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