Type Alias atsame54n::rtc::mode0::comp::W

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

Register COMP[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn comp(&mut self) -> COMP_W<'_, COMP_SPEC, 0>

Bits 0:31 - Compare Value

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual