pub struct Timer { /* private fields */ }Implementations§
Source§impl Timer
impl Timer
Sourcepub const fn timer_capture_gpio1_reg(
&self,
) -> &'static Reg<TimerCaptureGpio1Reg_SPEC, RW>
pub const fn timer_capture_gpio1_reg( &self, ) -> &'static Reg<TimerCaptureGpio1Reg_SPEC, RW>
Timer value for event on GPIO1
Sourcepub const fn timer_capture_gpio2_reg(
&self,
) -> &'static Reg<TimerCaptureGpio2Reg_SPEC, RW>
pub const fn timer_capture_gpio2_reg( &self, ) -> &'static Reg<TimerCaptureGpio2Reg_SPEC, RW>
Timer value for event on GPIO2
Sourcepub const fn timer_capture_gpio3_reg(
&self,
) -> &'static Reg<TimerCaptureGpio3Reg_SPEC, RW>
pub const fn timer_capture_gpio3_reg( &self, ) -> &'static Reg<TimerCaptureGpio3Reg_SPEC, RW>
Timer value for event on GPIO1
Sourcepub const fn timer_capture_gpio4_reg(
&self,
) -> &'static Reg<TimerCaptureGpio4Reg_SPEC, RW>
pub const fn timer_capture_gpio4_reg( &self, ) -> &'static Reg<TimerCaptureGpio4Reg_SPEC, RW>
Timer value for event on GPIO1
Sourcepub const fn timer_clear_gpio_event_reg(
&self,
) -> &'static Reg<TimerClearGpioEventReg_SPEC, RW>
pub const fn timer_clear_gpio_event_reg( &self, ) -> &'static Reg<TimerClearGpioEventReg_SPEC, RW>
Timer clear gpio event register
Sourcepub const fn timer_clear_irq_reg(
&self,
) -> &'static Reg<TimerClearIrqReg_SPEC, RW>
pub const fn timer_clear_irq_reg( &self, ) -> &'static Reg<TimerClearIrqReg_SPEC, RW>
Timer clear interrupt
Sourcepub const fn timer_ctrl_reg(&self) -> &'static Reg<TimerCtrlReg_SPEC, RW>
pub const fn timer_ctrl_reg(&self) -> &'static Reg<TimerCtrlReg_SPEC, RW>
Timer control register
Sourcepub const fn timer_gpio1_conf_reg(
&self,
) -> &'static Reg<TimerGpio1ConfReg_SPEC, RW>
pub const fn timer_gpio1_conf_reg( &self, ) -> &'static Reg<TimerGpio1ConfReg_SPEC, RW>
Timer gpio1 selection
Sourcepub const fn timer_gpio2_conf_reg(
&self,
) -> &'static Reg<TimerGpio2ConfReg_SPEC, RW>
pub const fn timer_gpio2_conf_reg( &self, ) -> &'static Reg<TimerGpio2ConfReg_SPEC, RW>
Timer gpio2 selection
Sourcepub const fn timer_gpio3_conf_reg(
&self,
) -> &'static Reg<TimerGpio3ConfReg_SPEC, RW>
pub const fn timer_gpio3_conf_reg( &self, ) -> &'static Reg<TimerGpio3ConfReg_SPEC, RW>
Timer gpio3 selection
Sourcepub const fn timer_gpio4_conf_reg(
&self,
) -> &'static Reg<TimerGpio4ConfReg_SPEC, RW>
pub const fn timer_gpio4_conf_reg( &self, ) -> &'static Reg<TimerGpio4ConfReg_SPEC, RW>
Timer gpio4 selection
Sourcepub const fn timer_prescaler_reg(
&self,
) -> &'static Reg<TimerPrescalerReg_SPEC, RW>
pub const fn timer_prescaler_reg( &self, ) -> &'static Reg<TimerPrescalerReg_SPEC, RW>
Timer prescaler value
Sourcepub const fn timer_prescaler_val_reg(
&self,
) -> &'static Reg<TimerPrescalerValReg_SPEC, RW>
pub const fn timer_prescaler_val_reg( &self, ) -> &'static Reg<TimerPrescalerValReg_SPEC, RW>
Timer prescaler counter valuew
Sourcepub const fn timer_pwm_dc_reg(&self) -> &'static Reg<TimerPwmDcReg_SPEC, RW>
pub const fn timer_pwm_dc_reg(&self) -> &'static Reg<TimerPwmDcReg_SPEC, RW>
Timer pwm dc register
Sourcepub const fn timer_pwm_freq_reg(&self) -> &'static Reg<TimerPwmFreqReg_SPEC, RW>
pub const fn timer_pwm_freq_reg(&self) -> &'static Reg<TimerPwmFreqReg_SPEC, RW>
Timer pwm frequency register
Sourcepub const fn timer_reload_reg(&self) -> &'static Reg<TimerReloadReg_SPEC, RW>
pub const fn timer_reload_reg(&self) -> &'static Reg<TimerReloadReg_SPEC, RW>
Timer reload value and Delay in shot mode
Sourcepub const fn timer_shotwidth_reg(
&self,
) -> &'static Reg<TimerShotwidthReg_SPEC, RW>
pub const fn timer_shotwidth_reg( &self, ) -> &'static Reg<TimerShotwidthReg_SPEC, RW>
Timer Shot duration in shot mode
Sourcepub const fn timer_status_reg(&self) -> &'static Reg<TimerStatusReg_SPEC, RW>
pub const fn timer_status_reg(&self) -> &'static Reg<TimerStatusReg_SPEC, RW>
Timer status register
Sourcepub const fn timer_timer_val_reg(
&self,
) -> &'static Reg<TimerTimerValReg_SPEC, RW>
pub const fn timer_timer_val_reg( &self, ) -> &'static Reg<TimerTimerValReg_SPEC, RW>
Timer counter value
Trait Implementations§
impl Copy for Timer
impl Eq for Timer
impl Send for Timer
TIMER registers
impl StructuralPartialEq for Timer
impl Sync for Timer
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