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

Bit 0 - OVF Interrupt Flag

source

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

Bit 1 - ERR Interrupt Flag

source

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

Bit 4 - MC Interrupt Flag 0

source

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

Bit 5 - MC Interrupt Flag 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