Type Definition stm32g0::stm32g031::vrefbuf::csr::W [−][src]
type W = W<u32, CSR>;
Writer for register CSR
Implementations
impl W
[src]
pub fn envr(&mut self) -> ENVR_W<'_>
[src]
Bit 0 - Voltage reference buffer mode enable This bit is used to enable the voltage reference buffer mode.
pub fn hiz(&mut self) -> HIZ_W<'_>
[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 vrs(&mut self) -> VRS_W<'_>
[src]
Bits 4:6 - Voltage reference scale These bits select the value generated by the voltage reference buffer. Other: Reserved