Type Alias esp32s2::systimer::int_ena::R

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

Register INT_ENA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn target(&self, n: u8) -> TARGET_R

Interrupt enable bit of system timer target (0-2).

`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
source

pub fn target_iter(&self) -> impl Iterator<Item = TARGET_R> + '_

Iterator for array of: Interrupt enable bit of system timer target (0-2).

source

pub fn target0(&self) -> TARGET_R

Bit 0 - Interrupt enable bit of system timer target 0.

source

pub fn target1(&self) -> TARGET_R

Bit 1 - Interrupt enable bit of system timer target 1.

source

pub fn target2(&self) -> TARGET_R

Bit 2 - Interrupt enable bit of system timer target 2.