40 this->
write_byte(LP5562_REG_RESET, LP5562_RESET_VALUE);
44 const uint8_t enable = LP5562_ENABLE_CHIP_EN | (this->
logarithmic_dimming_ ? LP5562_ENABLE_LOG_EN : 0);
45 if (!this->
write_byte(LP5562_REG_ENABLE, enable)) {
52 if (!this->
write_byte(LP5562_REG_CONFIG, LP5562_CONFIG_INT_CLK_EN) ||
53 !this->
write_byte(LP5562_REG_LED_MAP, LP5562_LED_MAP_ALL_PWM_REGISTERS)) {
57 for (
size_t channel = 0; channel < this->
currents_.size(); channel++) {