Type Alias atsame54n::ac::scaler::W

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

Register SCALER[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:5 - Scaler Value

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