Type Alias atsame54n::dsu::length::W

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

Register LENGTH writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn length(&mut self) -> LENGTH_W<'_, LENGTH_SPEC, 2>

Bits 2:31 - Length

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