[][src]Type Definition esp32::mcpwm::mcpwm_timer0_status_reg::R

type R = R<u32, MCPWM_TIMER0_STATUS_REG>;

Reader of register MCPWM_TIMER0_STATUS_REG

Methods

impl R[src]

pub fn mcpwm_timer0_direction(&self) -> MCPWM_TIMER0_DIRECTION_R[src]

Bit 16 - Current PWM timer0 counter direction 0: increment 1: decrement

pub fn mcpwm_timer0_value(&self) -> MCPWM_TIMER0_VALUE_R[src]

Bits 0:15 - Current PWM timer0 counter value