Type Alias atsame54n::sercom0::usart_ext::baud_frac_mode::W

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

Register BAUD_FRAC_MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:12 - Baud Rate Value

source

pub fn fp(&mut self) -> FP_W<'_, BAUD_FRAC_MODE_SPEC, 13>

Bits 13:15 - Fractional Part

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