esp_ldo_channel_adjust_voltage() function
Adjust the voltage of the LDO channel
Arguments
chan
The LDO channel handle returned from `esp_ldo_acquire_channel`
voltage_mv
The voltage value to be set to the LDO channel, in millivolts
Return value
- ESP_OK: Adjust the voltage of the LDO channel successfully - ESP_ERR_INVALID_ARG: Adjust the voltage of the LDO channel failed due to invalid arguments - ESP_ERR_NOT_SUPPORTED: Adjust the voltage of the LDO channel failed due to the channel is not adjustable - ESP_FAIL: Adjust the voltage of the LDO channel failed due to other reasons