upleb.uk

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

summaryrefslogtreecommitdiff
path: root/main/asic_miner.h
blob: 00efbc6e0887e0cfbb5464c0f7119d49e13b92df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef ASIC_MINER_H
#define ASIC_MINER_H

#include "esp_err.h"
#include <stdint.h>
#include <stdbool.h>

esp_err_t asic_miner_init(void);
bool asic_miner_is_present(void);
esp_err_t asic_miner_start(void);
void asic_miner_stop(void);
double asic_miner_get_hashrate(void);

#endif