Type Alias atsame54n::tc0::count16::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 ovf(&mut self) -> OVF_W<'_, INTENSET_SPEC, 0>

Bit 0 - OVF Interrupt Enable

source

pub fn err(&mut self) -> ERR_W<'_, INTENSET_SPEC, 1>

Bit 1 - ERR Interrupt Enable

source

pub fn mc0(&mut self) -> MC0_W<'_, INTENSET_SPEC, 4>

Bit 4 - MC Interrupt Enable 0

source

pub fn mc1(&mut self) -> MC1_W<'_, INTENSET_SPEC, 5>

Bit 5 - MC Interrupt Enable 1

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