Type Alias atsamd51j::sercom0::usart_int::baud_fracfp_mode::W

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

Register BAUD_FRACFP_MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:12 - Baud Rate Value

source

pub fn fp(&mut self) -> FP_W<'_, BAUD_FRACFP_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