Type Alias atsame54n::adc0::offsetcorr::W

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

Register OFFSETCORR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn offsetcorr(&mut self) -> OFFSETCORR_W<'_, OFFSETCORR_SPEC, 0>

Bits 0:11 - Offset Correction Value

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