Type Alias atsame54n::rtc::mode0::freqcorr::W

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

Register FREQCORR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn value(&mut self) -> VALUE_W<'_, FREQCORR_SPEC, 0>

Bits 0:6 - Correction Value

source

pub fn sign(&mut self) -> SIGN_W<'_, FREQCORR_SPEC, 7>

Bit 7 - Correction Sign

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual