Type Alias atsamd51n::ac::ctrlb::W

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

Register CTRLB writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn start0(&mut self) -> START0_W<'_, CTRLB_SPEC, 0>

Bit 0 - Comparator 0 Start Comparison

source

pub fn start1(&mut self) -> START1_W<'_, CTRLB_SPEC, 1>

Bit 1 - Comparator 1 Start Comparison

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