Type Alias ADDIS_W

Source
pub type ADDIS_W<'a, REG> = BitWriter1S<'a, REG, ADDISW>;
Expand description

Field ADDIS writer - ADC disable command This bit is set by software to disable the ADC (ADDIS command) and put it into power-down state (OFF state). It is cleared by hardware once the ADC is effectively disabled (ADEN is also cleared by hardware at this time). Note: Setting ADDIS to ‘1’ is only effective when ADEN=1 and ADSTART=0 (which ensures that no conversion is ongoing)

Aliased Type§

struct ADDIS_W<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> ADDIS_W<'a, REG>
where REG: Writable + RegisterSpec,

Source

pub fn disable(self) -> &'a mut W<REG>

Disable the ADC