Type Alias atsamd51j::tcc0::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 - Overflow Interrupt Enable

source

pub fn trg(&mut self) -> TRG_W<'_, INTENSET_SPEC, 1>

Bit 1 - Retrigger Interrupt Enable

source

pub fn cnt(&mut self) -> CNT_W<'_, INTENSET_SPEC, 2>

Bit 2 - Counter Interrupt Enable

source

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

Bit 3 - Error Interrupt Enable

source

pub fn ufs(&mut self) -> UFS_W<'_, INTENSET_SPEC, 10>

Bit 10 - Non-Recoverable Update Fault Interrupt Enable

source

pub fn dfs(&mut self) -> DFS_W<'_, INTENSET_SPEC, 11>

Bit 11 - Non-Recoverable Debug Fault Interrupt Enable

source

pub fn faulta(&mut self) -> FAULTA_W<'_, INTENSET_SPEC, 12>

Bit 12 - Recoverable Fault A Interrupt Enable

source

pub fn faultb(&mut self) -> FAULTB_W<'_, INTENSET_SPEC, 13>

Bit 13 - Recoverable Fault B Interrupt Enable

source

pub fn fault0(&mut self) -> FAULT0_W<'_, INTENSET_SPEC, 14>

Bit 14 - Non-Recoverable Fault 0 Interrupt Enable

source

pub fn fault1(&mut self) -> FAULT1_W<'_, INTENSET_SPEC, 15>

Bit 15 - Non-Recoverable Fault 1 Interrupt Enable

source

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

Bit 16 - Match or Capture Channel 0 Interrupt Enable

source

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

Bit 17 - Match or Capture Channel 1 Interrupt Enable

source

pub fn mc2(&mut self) -> MC2_W<'_, INTENSET_SPEC, 18>

Bit 18 - Match or Capture Channel 2 Interrupt Enable

source

pub fn mc3(&mut self) -> MC3_W<'_, INTENSET_SPEC, 19>

Bit 19 - Match or Capture Channel 3 Interrupt Enable

source

pub fn mc4(&mut self) -> MC4_W<'_, INTENSET_SPEC, 20>

Bit 20 - Match or Capture Channel 4 Interrupt Enable

source

pub fn mc5(&mut self) -> MC5_W<'_, INTENSET_SPEC, 21>

Bit 21 - Match or Capture Channel 5 Interrupt Enable

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual