ESPHome  2024.9.2
Namespaces | Functions
stm32flash.cpp File Reference

Go to the source code of this file.

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::shelly_dimmer
 

Functions

stm32_unique_ptr esphome::shelly_dimmer::stm32_init (uart::UARTDevice *stream, const uint8_t flags, const char init)
 
stm32_err_t esphome::shelly_dimmer::stm32_read_memory (const stm32_unique_ptr &stm, const uint32_t address, uint8_t *data, const unsigned int len)
 
stm32_err_t esphome::shelly_dimmer::stm32_write_memory (const stm32_unique_ptr &stm, uint32_t address, const uint8_t *data, const unsigned int len)
 
stm32_err_t esphome::shelly_dimmer::stm32_wunprot_memory (const stm32_unique_ptr &stm)
 
stm32_err_t esphome::shelly_dimmer::stm32_wprot_memory (const stm32_unique_ptr &stm)
 
stm32_err_t esphome::shelly_dimmer::stm32_runprot_memory (const stm32_unique_ptr &stm)
 
stm32_err_t esphome::shelly_dimmer::stm32_readprot_memory (const stm32_unique_ptr &stm)
 
stm32_err_t esphome::shelly_dimmer::stm32_erase_memory (const stm32_unique_ptr &stm, uint32_t spage, uint32_t pages)
 
stm32_err_t esphome::shelly_dimmer::stm32_go (const stm32_unique_ptr &stm, const uint32_t address)
 
stm32_err_t esphome::shelly_dimmer::stm32_reset_device (const stm32_unique_ptr &stm)
 
stm32_err_t esphome::shelly_dimmer::stm32_crc_memory (const stm32_unique_ptr &stm, const uint32_t address, const uint32_t length, uint32_t *const crc)
 
uint32_t esphome::shelly_dimmer::stm32_sw_crc (uint32_t crc, uint8_t *buf, unsigned int len)
 
stm32_err_t esphome::shelly_dimmer::stm32_crc_wrapper (const stm32_unique_ptr &stm, uint32_t address, uint32_t length, uint32_t *crc)