Type Alias atsame54p::ac::intflag::W

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

Register INTFLAG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn comp0(&mut self) -> COMP0_W<'_, INTFLAG_SPEC, 0>

Bit 0 - Comparator 0

source

pub fn comp1(&mut self) -> COMP1_W<'_, INTFLAG_SPEC, 1>

Bit 1 - Comparator 1

source

pub fn win0(&mut self) -> WIN0_W<'_, INTFLAG_SPEC, 4>

Bit 4 - Window 0

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