LibDriver MCP3421
Loading...
Searching...
No Matches
driver_mcp3421_basic.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_MCP3421_BASIC_H
38#define DRIVER_MCP3421_BASIC_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
52
56#define MCP3421_BASIC_DEFAULT_BIT MCP3421_BIT_18
57#define MCP3421_BASIC_DEFAULT_PGA MCP3421_PGA_1
58
66uint8_t mcp3421_basic_init(void);
67
75uint8_t mcp3421_basic_deinit(void);
76
85uint8_t mcp3421_basic_read(double *s);
86
90
91#ifdef __cplusplus
92}
93#endif
94
95#endif
driver mcp3421 interface header file
uint8_t mcp3421_basic_read(double *s)
basic example read
uint8_t mcp3421_basic_deinit(void)
basic example deinit
uint8_t mcp3421_basic_init(void)
basic example init