Type Alias atsame54n::adc0::winut::W

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

Register WINUT writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn winut(&mut self) -> WINUT_W<'_, WINUT_SPEC, 0>

Bits 0:15 - Window Upper Threshold

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