Struct esp32h2::mcpwm0::timer1_status::R
source · pub struct R(_);
Expand description
Register TIMER1_STATUS
reader
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
Methods from Deref<Target = R<TIMER1_STATUS_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more