LibDriver MCP4725
Loading...
Searching...
No Matches
driver_mcp4725_basic.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_MCP4725_BASIC_H
39#define DRIVER_MCP4725_BASIC_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
50#define MCP4725_BASIC_DEFAULT_POWER_DOWN_MODE MCP4725_POWER_DOWN_MODE_NORMAL
51#define MCP4725_BASIC_DEFAULT_MODE MCP4725_MODE_DAC
52#define MCP4725_BASIC_DEFAULT_REFERENCE_VOLTAGE 3.3f
53
60
70
78uint8_t mcp4725_basic_deinit(void);
79
88uint8_t mcp4725_basic_write(float voltage_v);
89
93
94#ifdef __cplusplus
95}
96#endif
97
98#endif
driver mcp4725 interface header file
mcp4725_address_t
mcp4725 address enumeration definition
uint8_t mcp4725_basic_write(float voltage_v)
basic example write
uint8_t mcp4725_basic_deinit(void)
basic example deinit
uint8_t mcp4725_basic_init(mcp4725_address_t addr_pin)
basic example init