Documentation
¶
Index ¶
Constants ¶
View Source
const ( VBUS = iomux.P24 // VBUS presence VSYS = iomux.P29 // analog VSYS/3 )
Variables ¶
This section is empty.
Functions ¶
func SetPowerSave ¶
func SetPowerSave(ps bool)
SetPowerSave controls the onboard buck-boost DCD regulator power save mode. The default mode is ps=true which means the regulator is in Pulse Frequency Modulation at light loads and switches to the Pulse Width Modulation (PWM) mode only under heavy load. Setting ps to false forces PWM mode which reduces the output ripple (which may for example improve the ADC performance) at light load but at the expense of much worse efficiency.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.