Type Alias esp32c6::mcpwm0::timer1_status::R
source · pub type R = R<TIMER1_STATUS_SPEC>;
Expand description
Register TIMER1_STATUS
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn timer1_value(&self) -> TIMER1_VALUE_R
pub fn timer1_value(&self) -> TIMER1_VALUE_R
Bits 0:15 - current PWM timer1 counter value
sourcepub fn timer1_direction(&self) -> TIMER1_DIRECTION_R
pub fn timer1_direction(&self) -> TIMER1_DIRECTION_R
Bit 16 - current PWM timer1 counter direction, 0: increment 1: decrement