Type Alias atsame70n21b::supc::wuir::WKUPEN2_W

source ·
pub type WKUPEN2_W<'a, const O: u8> = BitWriter<'a, WUIR_SPEC, O, WKUPEN2SELECT_A>;
Expand description

Field WKUPEN2 writer - Wake-up Input Enable 0 to 2

Aliased Type§

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

Implementations§

source§

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

source

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

The corresponding wake-up input has no wake-up effect.

source

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

The corresponding wake-up input is enabled for a wake-up of the core power supply.