diff options
Diffstat (limited to 'main/asic_miner.h')
| -rw-r--r-- | main/asic_miner.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/asic_miner.h b/main/asic_miner.h new file mode 100644 index 0000000..00efbc6 --- /dev/null +++ b/main/asic_miner.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #ifndef ASIC_MINER_H | ||
| 2 | #define ASIC_MINER_H | ||
| 3 | |||
| 4 | #include "esp_err.h" | ||
| 5 | #include <stdint.h> | ||
| 6 | #include <stdbool.h> | ||
| 7 | |||
| 8 | esp_err_t asic_miner_init(void); | ||
| 9 | bool asic_miner_is_present(void); | ||
| 10 | esp_err_t asic_miner_start(void); | ||
| 11 | void asic_miner_stop(void); | ||
| 12 | double asic_miner_get_hashrate(void); | ||
| 13 | |||
| 14 | #endif | ||