Type Alias esp32h2::mcpwm0::gen1_a::R

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

Register GEN1_A reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn utez(&self) -> UTEZ_R

Bits 0:1 - Action on PWM1A triggered by event TEZ when timer increasing

source

pub fn utep(&self) -> UTEP_R

Bits 2:3 - Action on PWM1A triggered by event TEP when timer increasing

source

pub fn utea(&self) -> UTEA_R

Bits 4:5 - Action on PWM1A triggered by event TEA when timer increasing

source

pub fn uteb(&self) -> UTEB_R

Bits 6:7 - Action on PWM1A triggered by event TEB when timer increasing

source

pub fn ut0(&self) -> UT0_R

Bits 8:9 - Action on PWM1A triggered by event_t0 when timer increasing

source

pub fn ut1(&self) -> UT1_R

Bits 10:11 - Action on PWM1A triggered by event_t1 when timer increasing

source

pub fn dtez(&self) -> DTEZ_R

Bits 12:13 - Action on PWM1A triggered by event TEZ when timer decreasing

source

pub fn dtep(&self) -> DTEP_R

Bits 14:15 - Action on PWM1A triggered by event TEP when timer decreasing

source

pub fn dtea(&self) -> DTEA_R

Bits 16:17 - Action on PWM1A triggered by event TEA when timer decreasing

source

pub fn dteb(&self) -> DTEB_R

Bits 18:19 - Action on PWM1A triggered by event TEB when timer decreasing

source

pub fn dt0(&self) -> DT0_R

Bits 20:21 - Action on PWM1A triggered by event_t0 when timer decreasing

source

pub fn dt1(&self) -> DT1_R

Bits 22:23 - Action on PWM1A triggered by event_t1 when timer decreasing. 0: no change, 1: low, 2: high, 3: toggle