Type Alias atsamd51p::pdec::ctrlbset::W

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

Register CTRLBSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 1 - Lock Update

source

pub fn cmd(&mut self) -> CMD_W<'_, CTRLBSET_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