Struct stm32f4xx_hal::timer::pwm::PwmChannel
source · [−]pub struct PwmChannel<TIM, const C: u8> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<TIM: Instance + WithPwm, const C: u8> PwmPin for PwmChannel<TIM, C>
impl<TIM: Instance + WithPwm, const C: u8> PwmPin for PwmChannel<TIM, C>
sourcefn get_max_duty(&self) -> Self::Duty
fn get_max_duty(&self) -> Self::Duty
Returns the maximum duty cycle value
Auto Trait Implementations
impl<TIM, const C: u8> RefUnwindSafe for PwmChannel<TIM, C> where
TIM: RefUnwindSafe,
impl<TIM, const C: u8> Send for PwmChannel<TIM, C> where
TIM: Send,
impl<TIM, const C: u8> Sync for PwmChannel<TIM, C> where
TIM: Sync,
impl<TIM, const C: u8> Unpin for PwmChannel<TIM, C> where
TIM: Unpin,
impl<TIM, const C: u8> UnwindSafe for PwmChannel<TIM, C> where
TIM: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more