Type Alias atsame54n::sercom0::i2cm::baud::W

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

Register BAUD writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn baud(&mut self) -> BAUD_W<'_, BAUD_SPEC, 0>

Bits 0:7 - Baud Rate Value

source

pub fn baudlow(&mut self) -> BAUDLOW_W<'_, BAUD_SPEC, 8>

Bits 8:15 - Baud Rate Value Low

source

pub fn hsbaud(&mut self) -> HSBAUD_W<'_, BAUD_SPEC, 16>

Bits 16:23 - High Speed Baud Rate Value

source

pub fn hsbaudlow(&mut self) -> HSBAUDLOW_W<'_, BAUD_SPEC, 24>

Bits 24:31 - High Speed Baud Rate Value Low

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