ESPHome  2024.10.2
Data Structures | Namespaces | Enumerations
mcp4728.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::mcp4728::DACInputData
 
class  esphome::mcp4728::MCP4728Component
 MCP4728 float output component. More...
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::mcp4728
 

Enumerations

enum  esphome::mcp4728::CMD {
  esphome::mcp4728::CMD::FAST_WRITE = 0x00, esphome::mcp4728::CMD::MULTI_WRITE = 0x40, esphome::mcp4728::CMD::SINGLE_WRITE = 0x58, esphome::mcp4728::CMD::SEQ_WRITE = 0x50,
  esphome::mcp4728::CMD::SELECT_VREF = 0x80, esphome::mcp4728::CMD::SELECT_GAIN = 0xC0, esphome::mcp4728::CMD::SELECT_POWER_DOWN = 0xA0
}
 
enum  esphome::mcp4728::MCP4728Vref { esphome::mcp4728::MCP4728_VREF_VDD = 0, esphome::mcp4728::MCP4728_VREF_INTERNAL_2_8V = 1 }
 
enum  esphome::mcp4728::MCP4728PwrDown { esphome::mcp4728::MCP4728_PD_NORMAL = 0, esphome::mcp4728::MCP4728_PD_GND_1KOHM = 1, esphome::mcp4728::MCP4728_PD_GND_100KOHM = 2, esphome::mcp4728::MCP4728_PD_GND_500KOHM = 3 }
 
enum  esphome::mcp4728::MCP4728Gain { esphome::mcp4728::MCP4728_GAIN_X1 = 0, esphome::mcp4728::MCP4728_GAIN_X2 = 1 }
 
enum  esphome::mcp4728::MCP4728ChannelIdx { esphome::mcp4728::MCP4728_CHANNEL_A = 0, esphome::mcp4728::MCP4728_CHANNEL_B = 1, esphome::mcp4728::MCP4728_CHANNEL_C = 2, esphome::mcp4728::MCP4728_CHANNEL_D = 3 }