[−][src]Type Definition esp32::mcpwm::mcpwm_timer2_status_reg::R
type R = R<u32, MCPWM_TIMER2_STATUS_REG>;
Reader of register MCPWM_TIMER2_STATUS_REG
Methods
impl R
[src]
pub fn mcpwm_timer2_direction(&self) -> MCPWM_TIMER2_DIRECTION_R
[src]
Bit 16 - Current PWM timer2 counter direction 0: increment 1: decrement
pub fn mcpwm_timer2_value(&self) -> MCPWM_TIMER2_VALUE_R
[src]
Bits 0:15 - Current PWM timer2 counter value