Type Alias atsame54n::sercom0::usart_int::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 len(&mut self) -> LEN_W<'_, LENGTH_SPEC, 0>

Bits 0:7 - Data Length

source

pub fn lenen(&mut self) -> LENEN_W<'_, LENGTH_SPEC, 8>

Bits 8:9 - Data Length Enable

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual