pub struct GpTimers { /* private fields */ }Implementations§
Source§impl GpTimers
impl GpTimers
Sourcepub const fn breath_cfg_reg(&self) -> &'static Reg<BreathCfgReg_SPEC, RW>
pub const fn breath_cfg_reg(&self) -> &'static Reg<BreathCfgReg_SPEC, RW>
Breath configuration register
Sourcepub const fn breath_ctrl_reg(&self) -> &'static Reg<BreathCtrlReg_SPEC, RW>
pub const fn breath_ctrl_reg(&self) -> &'static Reg<BreathCtrlReg_SPEC, RW>
Breath control register
Sourcepub const fn breath_duty_max_reg(
&self,
) -> &'static Reg<BreathDutyMaxReg_SPEC, RW>
pub const fn breath_duty_max_reg( &self, ) -> &'static Reg<BreathDutyMaxReg_SPEC, RW>
Breath max duty cycle register
Sourcepub const fn breath_duty_min_reg(
&self,
) -> &'static Reg<BreathDutyMinReg_SPEC, RW>
pub const fn breath_duty_min_reg( &self, ) -> &'static Reg<BreathDutyMinReg_SPEC, RW>
Breath min duty cycle register
Sourcepub const fn pwm2_end_cycle(&self) -> &'static Reg<Pwm2EndCycle_SPEC, RW>
pub const fn pwm2_end_cycle(&self) -> &'static Reg<Pwm2EndCycle_SPEC, RW>
Defines end Cycle for PWM2
Sourcepub const fn pwm2_start_cycle(&self) -> &'static Reg<Pwm2StartCycle_SPEC, RW>
pub const fn pwm2_start_cycle(&self) -> &'static Reg<Pwm2StartCycle_SPEC, RW>
Defines start Cycle for PWM2
Sourcepub const fn pwm3_end_cycle(&self) -> &'static Reg<Pwm3EndCycle_SPEC, RW>
pub const fn pwm3_end_cycle(&self) -> &'static Reg<Pwm3EndCycle_SPEC, RW>
Defines end Cycle for PWM3
Sourcepub const fn pwm3_start_cycle(&self) -> &'static Reg<Pwm3StartCycle_SPEC, RW>
pub const fn pwm3_start_cycle(&self) -> &'static Reg<Pwm3StartCycle_SPEC, RW>
Defines start Cycle for PWM3
Sourcepub const fn pwm4_end_cycle(&self) -> &'static Reg<Pwm4EndCycle_SPEC, RW>
pub const fn pwm4_end_cycle(&self) -> &'static Reg<Pwm4EndCycle_SPEC, RW>
Defines end Cycle for PWM4
Sourcepub const fn pwm4_start_cycle(&self) -> &'static Reg<Pwm4StartCycle_SPEC, RW>
pub const fn pwm4_start_cycle(&self) -> &'static Reg<Pwm4StartCycle_SPEC, RW>
Defines start Cycle for PWM4
Sourcepub const fn timer0_ctrl_reg(&self) -> &'static Reg<Timer0CtrlReg_SPEC, RW>
pub const fn timer0_ctrl_reg(&self) -> &'static Reg<Timer0CtrlReg_SPEC, RW>
Timer0 control register
Sourcepub const fn timer0_on_reg(&self) -> &'static Reg<Timer0OnReg_SPEC, RW>
pub const fn timer0_on_reg(&self) -> &'static Reg<Timer0OnReg_SPEC, RW>
Timer0 on control register
Sourcepub const fn timer0_reload_m_reg(
&self,
) -> &'static Reg<Timer0ReloadMReg_SPEC, RW>
pub const fn timer0_reload_m_reg( &self, ) -> &'static Reg<Timer0ReloadMReg_SPEC, RW>
16 bits reload value for Timer0
Sourcepub const fn timer0_reload_n_reg(
&self,
) -> &'static Reg<Timer0ReloadNReg_SPEC, RW>
pub const fn timer0_reload_n_reg( &self, ) -> &'static Reg<Timer0ReloadNReg_SPEC, RW>
16 bits reload value for Timer0
Sourcepub const fn triple_pwm_ctrl_reg(
&self,
) -> &'static Reg<TriplePwmCtrlReg_SPEC, RW>
pub const fn triple_pwm_ctrl_reg( &self, ) -> &'static Reg<TriplePwmCtrlReg_SPEC, RW>
PWM 2 3 4 Control register
Sourcepub const fn triple_pwm_frequency(
&self,
) -> &'static Reg<TriplePwmFrequency_SPEC, RW>
pub const fn triple_pwm_frequency( &self, ) -> &'static Reg<TriplePwmFrequency_SPEC, RW>
Defines the PMW2,3,4 frequency
Trait Implementations§
impl Copy for GpTimers
impl Eq for GpTimers
impl Send for GpTimers
GP_TIMERS registers
impl StructuralPartialEq for GpTimers
impl Sync for GpTimers
Auto Trait Implementations§
impl Freeze for GpTimers
impl RefUnwindSafe for GpTimers
impl Unpin for GpTimers
impl UnwindSafe for GpTimers
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