Type Alias atsame54n::ac::intenclr::W

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

Register INTENCLR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 0 - Comparator 0 Interrupt Enable

source

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

Bit 1 - Comparator 1 Interrupt Enable

source

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

Bit 4 - Window 0 Interrupt Enable

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