pub type TimerPwmDcReg = RegValueT<TimerPwmDcReg_SPEC>;Expand description
Timer pwm dc register
Aliased Type§
pub struct TimerPwmDcReg { /* private fields */ }Implementations§
Source§impl TimerPwmDcReg
impl TimerPwmDcReg
Sourcepub fn tim_pwm_dc(
self,
) -> RegisterField<0, 0xffff, 1, 0, u16, u16, TimerPwmDcReg_SPEC, RW>
pub fn tim_pwm_dc( self, ) -> RegisterField<0, 0xffff, 1, 0, u16, u16, TimerPwmDcReg_SPEC, RW>
Defines the PWM duty cycle. TIM_PWM_DC / ( TIM_PWM_FREQ+1)
Trait Implementations§
Source§impl Default for TimerPwmDcReg
impl Default for TimerPwmDcReg
Source§fn default() -> TimerPwmDcReg
fn default() -> TimerPwmDcReg
Returns the “default value” for a type. Read more