Type Alias atsame70n21b::afec0::mr::SLEEP_W

source ·
pub type SLEEP_W<'a, const O: u8> = BitWriter<'a, MR_SPEC, O, SLEEPSELECT_A>;
Expand description

Field SLEEP writer - Sleep Mode

Aliased Type§

struct SLEEP_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> SLEEP_W<'a, O>

source

pub fn normal(self) -> &'a mut W

Normal mode: The AFE and reference voltage circuitry are kept ON between conversions.

source

pub fn sleep(self) -> &'a mut W

Sleep mode: The AFE and reference voltage circuitry are OFF between conversions.