Type Alias esp32c3::systimer::int_ena::W

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

Register INT_ENA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn target(&mut self, n: u8) -> TARGET_W<'_, INT_ENA_SPEC>

interupt(0-2) enable

NOTE: n is number of field in register. n == 0 corresponds to TARGET0 field

source

pub fn target0(&mut self) -> TARGET_W<'_, INT_ENA_SPEC>

Bit 0 - interupt0 enable

source

pub fn target1(&mut self) -> TARGET_W<'_, INT_ENA_SPEC>

Bit 1 - interupt1 enable

source

pub fn target2(&mut self) -> TARGET_W<'_, INT_ENA_SPEC>

Bit 2 - interupt2 enable