Function rp2040_hal::vreg::get_voltage

source ·
pub fn get_voltage(vreg_dev: &VREG_AND_CHIP_RESET) -> Option<VSEL_A>
Expand description

Get voltage from the on-chip voltage regulator

§Arguments

  • vreg_dev - VREG peripheral