pub struct W(_);Expand description
Register CSR writer
Implementations§
source§impl W
impl W
sourcepub fn envr(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 0>
pub fn envr(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 0>
Bit 0 - Voltage reference buffer mode enable This bit is used to enable the voltage reference buffer mode.
sourcepub fn hiz(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 1>
pub fn hiz(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 1>
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.
Methods from Deref<Target = W<CSR_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.