Type Alias atsame54n::supc::bkout::W

source ·
pub type W = W<BKOUT_SPEC>;
Expand description

Register BKOUT writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn enout0(&mut self) -> ENOUT0_W<'_, BKOUT_SPEC, 0>

Bit 0 - Enable OUT0

source

pub fn enout1(&mut self) -> ENOUT1_W<'_, BKOUT_SPEC, 1>

Bit 1 - Enable OUT1

source

pub fn clrout0(&mut self) -> CLROUT0_W<'_, BKOUT_SPEC, 8>

Bit 8 - Clear OUT0

source

pub fn clrout1(&mut self) -> CLROUT1_W<'_, BKOUT_SPEC, 9>

Bit 9 - Clear OUT1

source

pub fn setout0(&mut self) -> SETOUT0_W<'_, BKOUT_SPEC, 16>

Bit 16 - Set OUT0

source

pub fn setout1(&mut self) -> SETOUT1_W<'_, BKOUT_SPEC, 17>

Bit 17 - Set OUT1

source

pub fn rtctglout0(&mut self) -> RTCTGLOUT0_W<'_, BKOUT_SPEC, 24>

Bit 24 - RTC Toggle OUT0

source

pub fn rtctglout1(&mut self) -> RTCTGLOUT1_W<'_, BKOUT_SPEC, 25>

Bit 25 - RTC Toggle OUT1

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual