Type Alias W

Source
pub type W = W<CSRrs>;
Expand description

Register CSR writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn envr(&mut self) -> ENVR_W<'_, CSRrs>

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

Source

pub fn hiz(&mut self) -> HIZ_W<'_, CSRrs>

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

Source

pub fn vrs(&mut self) -> VRS_W<'_, CSRrs>

Bit 2 - Voltage reference scale This bit selects the value generated by the voltage reference buffer.