Type Definition stm32g0::stm32g041::vrefbuf::csr::R[][src]

type R = R<u32, CSR>;

Reader of register CSR

Implementations

impl R[src]

pub fn envr(&self) -> ENVR_R[src]

Bit 0 - Voltage reference buffer mode enable This bit is used to enable the voltage reference buffer mode.

pub fn hiz(&self) -> HIZ_R[src]

Bit 1 - High impedance mode This bit controls the analog switch to connect or not the VREF+ pin. Refer to Table196: VREF buffer modes for the mode descriptions depending on ENVR bit configuration.

pub fn vrr(&self) -> VRR_R[src]

Bit 3 - Voltage reference buffer ready

pub fn vrs(&self) -> VRS_R[src]

Bits 4:6 - Voltage reference scale These bits select the value generated by the voltage reference buffer. Other: Reserved