pub struct Timer4 { /* private fields */ }Implementations§
Source§impl Timer4
impl Timer4
Sourcepub const fn timer4_capture_gpio1_reg(
&self,
) -> &'static Reg<Timer4CaptureGpio1Reg_SPEC, RW>
pub const fn timer4_capture_gpio1_reg( &self, ) -> &'static Reg<Timer4CaptureGpio1Reg_SPEC, RW>
Timer value for event on GPIO1
Sourcepub const fn timer4_capture_gpio2_reg(
&self,
) -> &'static Reg<Timer4CaptureGpio2Reg_SPEC, RW>
pub const fn timer4_capture_gpio2_reg( &self, ) -> &'static Reg<Timer4CaptureGpio2Reg_SPEC, RW>
Timer value for event on GPIO2
Sourcepub const fn timer4_clear_irq_reg(
&self,
) -> &'static Reg<Timer4ClearIrqReg_SPEC, RW>
pub const fn timer4_clear_irq_reg( &self, ) -> &'static Reg<Timer4ClearIrqReg_SPEC, RW>
Timer clear interrupt
Sourcepub const fn timer4_ctrl_reg(&self) -> &'static Reg<Timer4CtrlReg_SPEC, RW>
pub const fn timer4_ctrl_reg(&self) -> &'static Reg<Timer4CtrlReg_SPEC, RW>
Timer control register
Sourcepub const fn timer4_gpio1_conf_reg(
&self,
) -> &'static Reg<Timer4Gpio1ConfReg_SPEC, RW>
pub const fn timer4_gpio1_conf_reg( &self, ) -> &'static Reg<Timer4Gpio1ConfReg_SPEC, RW>
Timer gpio1 selection
Sourcepub const fn timer4_gpio2_conf_reg(
&self,
) -> &'static Reg<Timer4Gpio2ConfReg_SPEC, RW>
pub const fn timer4_gpio2_conf_reg( &self, ) -> &'static Reg<Timer4Gpio2ConfReg_SPEC, RW>
Timer gpio2 selection
Sourcepub const fn timer4_prescaler_reg(
&self,
) -> &'static Reg<Timer4PrescalerReg_SPEC, RW>
pub const fn timer4_prescaler_reg( &self, ) -> &'static Reg<Timer4PrescalerReg_SPEC, RW>
Timer prescaler value
Sourcepub const fn timer4_prescaler_val_reg(
&self,
) -> &'static Reg<Timer4PrescalerValReg_SPEC, RW>
pub const fn timer4_prescaler_val_reg( &self, ) -> &'static Reg<Timer4PrescalerValReg_SPEC, RW>
Timer prescaler counter valuew
Sourcepub const fn timer4_pwm_dc_reg(&self) -> &'static Reg<Timer4PwmDcReg_SPEC, RW>
pub const fn timer4_pwm_dc_reg(&self) -> &'static Reg<Timer4PwmDcReg_SPEC, RW>
Timer pwm dc register
Sourcepub const fn timer4_pwm_freq_reg(
&self,
) -> &'static Reg<Timer4PwmFreqReg_SPEC, RW>
pub const fn timer4_pwm_freq_reg( &self, ) -> &'static Reg<Timer4PwmFreqReg_SPEC, RW>
Timer pwm frequency register
Sourcepub const fn timer4_reload_reg(&self) -> &'static Reg<Timer4ReloadReg_SPEC, RW>
pub const fn timer4_reload_reg(&self) -> &'static Reg<Timer4ReloadReg_SPEC, RW>
Timer reload value and Delay in shot mode
Sourcepub const fn timer4_status_reg(&self) -> &'static Reg<Timer4StatusReg_SPEC, RW>
pub const fn timer4_status_reg(&self) -> &'static Reg<Timer4StatusReg_SPEC, RW>
Timer status register
Sourcepub const fn timer4_timer_val_reg(
&self,
) -> &'static Reg<Timer4TimerValReg_SPEC, RW>
pub const fn timer4_timer_val_reg( &self, ) -> &'static Reg<Timer4TimerValReg_SPEC, RW>
Timer counter value
Trait Implementations§
impl Copy for Timer4
impl Eq for Timer4
impl Send for Timer4
TIMER4 registers
impl StructuralPartialEq for Timer4
impl Sync for Timer4
Auto Trait Implementations§
impl Freeze for Timer4
impl RefUnwindSafe for Timer4
impl Unpin for Timer4
impl UnwindSafe for Timer4
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