Type Alias atsame51j::adc0::calib::W

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

Register CALIB writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn biascomp(&mut self) -> BIASCOMP_W<'_, CALIB_SPEC, 0>

Bits 0:2 - Bias Comparator Scaling

source

pub fn biasr2r(&mut self) -> BIASR2R_W<'_, CALIB_SPEC, 4>

Bits 4:6 - Bias R2R Ampli scaling

source

pub fn biasrefbuf(&mut self) -> BIASREFBUF_W<'_, CALIB_SPEC, 8>

Bits 8:10 - Bias Reference Buffer Scaling

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