regulator_disable — disable regulator output
int regulator_disable (
)
regulator
regulator source
Disable the regulator output voltage or current. Calls to regulator_enable must be balanced with calls to regulator_disable.
regulator_enable
regulator_disable
this will only disable the regulator output if no other consumer devices have it enabled, the regulator device supports disabling and machine constraints permit this operation.