Type Alias atsame54n::pdec::ctrlbclr::W

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

Register CTRLBCLR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn lupd(&mut self) -> LUPD_W<'_, CTRLBCLR_SPEC, 1>

Bit 1 - Lock Update

source

pub fn cmd(&mut self) -> CMD_W<'_, CTRLBCLR_SPEC, 5>

Bits 5:7 - Command

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual