Type Alias atsame54n::rtc::mode1::tampctrl::IN2ACT_W

source ·
pub type IN2ACT_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 2, O, IN2ACTSELECT_A>;
Expand description

Field IN2ACT writer - Tamper Input 2 Action

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> IN2ACT_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

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

Off (Disabled)

source

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

Wake without timestamp

source

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

Capture timestamp

source

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

Compare IN2 to OUT