Struct stm32f1xx_hal::timer::pwm::PwmChannel
source · pub struct PwmChannel<TIM, const C: u8> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<TIM: Instance + WithPwm, const C: u8> PwmPin for PwmChannel<TIM, C>
impl<TIM: Instance + WithPwm, const C: u8> PwmPin for PwmChannel<TIM, C>
source§fn get_max_duty(&self) -> Self::Duty
fn get_max_duty(&self) -> Self::Duty
Returns the maximum duty cycle value