1 Star 0 Fork 1

actionchen / cgminer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
A1-trimpot-mcp4x.h 381 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef TRIMPOT_MPC4X_H
#define TRIMPOT_MPC4X_H
#include <stdint.h>
#include <stdbool.h>
struct mcp4x {
uint16_t (*get_wiper)(struct mcp4x *me, uint8_t id);
bool (*set_wiper)(struct mcp4x *me, uint8_t id, uint16_t w);
void (*exit)(struct mcp4x *me);
uint8_t addr;
int file;
};
/* constructor */
extern struct mcp4x *mcp4x_init(uint8_t addr);
#endif /* TRIMPOT_MPC4X_H */
1
https://gitee.com/actionchen/cgminer.git
git@gitee.com:actionchen/cgminer.git
actionchen
cgminer
cgminer
master

搜索帮助