Type Alias esp32h2::mcpwm0::operator_timersel::R

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

Register OPERATOR_TIMERSEL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn operator0_timersel(&self) -> OPERATOR0_TIMERSEL_R

Bits 0:1 - Select which PWM timer’s is the timing reference for PWM operator0, 0: timer0, 1: timer1, 2: timer2

source

pub fn operator1_timersel(&self) -> OPERATOR1_TIMERSEL_R

Bits 2:3 - Select which PWM timer’s is the timing reference for PWM operator1, 0: timer0, 1: timer1, 2: timer2

source

pub fn operator2_timersel(&self) -> OPERATOR2_TIMERSEL_R

Bits 4:5 - Select which PWM timer’s is the timing reference for PWM operator2, 0: timer0, 1: timer1, 2: timer2