upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/main/asic_miner.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/asic_miner.h')
-rw-r--r--main/asic_miner.h14
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
8esp_err_t asic_miner_init(void);
9bool asic_miner_is_present(void);
10esp_err_t asic_miner_start(void);
11void asic_miner_stop(void);
12double asic_miner_get_hashrate(void);
13
14#endif