Type Alias ActionW

Source
pub type ActionW<'a, REG> = FieldWriter<'a, REG, 2, Actionselect>;
Expand description

Field ACTION writer - BOD33 Action

Aliased Type§

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

Implementations§

Source§

impl<'a, REG> ActionW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

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

No action

Source

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

The BOD33 generates a reset

Source

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

The BOD33 generates an interrupt