Type Alias atsame54n::supc::bod33::ACTION_W

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

Field ACTION writer - Action when Threshold Crossed

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> ACTION_W<'a, REG, O>
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 int(self) -> &'a mut W<REG>

The BOD33 generates an interrupt

source

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

The BOD33 puts the device in backup sleep mode