Type Alias atsame54n::dsu::addr::W

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

Register ADDR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn amod(&mut self) -> AMOD_W<'_, ADDR_SPEC, 0>

Bits 0:1 - Access Mode

source

pub fn addr(&mut self) -> ADDR_W<'_, ADDR_SPEC, 2>

Bits 2:31 - Address

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