Type Alias atsame54n::supc::bbps::W

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

Register BBPS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn conf(&mut self) -> CONF_W<'_, BBPS_SPEC, 0>

Bit 0 - Battery Backup Configuration

source

pub fn wakeen(&mut self) -> WAKEEN_W<'_, BBPS_SPEC, 2>

Bit 2 - Wake Enable

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