mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
Update mcp4461.h
This commit is contained in:
parent
c36841504c
commit
b72f1b9f2b
@ -84,7 +84,8 @@ class Mcp4461Component : public Component, public i2c::I2CDevice {
|
|||||||
float get_setup_priority() const override { return setup_priority::HARDWARE; }
|
float get_setup_priority() const override { return setup_priority::HARDWARE; }
|
||||||
void loop() override;
|
void loop() override;
|
||||||
/// @brief get user-data value from eeprom location
|
/// @brief get user-data value from eeprom location
|
||||||
/// @param[location] location to fetch data from, valid is uint8_t in range of 0-4 for 5x 9 bits (=max int of 511) of user-data
|
/// @param[location] location to fetch data from, valid is uint8_t in range of 0-4
|
||||||
|
/// mcp4461 provides 5x 9 bits (=max int of 511) of user-data storage
|
||||||
/// @return uint16_t - returns the eeprom value stored in given eeprom user-data location
|
/// @return uint16_t - returns the eeprom value stored in given eeprom user-data location
|
||||||
uint16_t get_eeprom_value(Mcp4461EepromLocation location);
|
uint16_t get_eeprom_value(Mcp4461EepromLocation location);
|
||||||
/// @brief set user-data value from eeprom location
|
/// @brief set user-data value from eeprom location
|
||||||
|
Loading…
x
Reference in New Issue
Block a user