Type Alias atsame54n::adc0::intenset::W

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

Register INTENSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn resrdy(&mut self) -> RESRDY_W<'_, INTENSET_SPEC, 0>

Bit 0 - Result Ready Interrupt Enable

source

pub fn overrun(&mut self) -> OVERRUN_W<'_, INTENSET_SPEC, 1>

Bit 1 - Overrun Interrupt Enable

source

pub fn winmon(&mut self) -> WINMON_W<'_, INTENSET_SPEC, 2>

Bit 2 - Window Monitor 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