Struct gd32f1x0_hal::pwm::PwmChannelComplementary
source · [−]pub struct PwmChannelComplementary<TIMER, PIN> { /* private fields */ }
Expand description
A single channel of a PWM peripheral, including a complementary output.
Trait Implementations
sourceimpl<TIMER, PIN> PwmPin for PwmChannelComplementary<TIMER, PIN>
impl<TIMER, PIN> PwmPin for PwmChannelComplementary<TIMER, PIN>
sourcefn get_max_duty(&self) -> u16
fn get_max_duty(&self) -> u16
Returns the maximum duty cycle value
Auto Trait Implementations
impl<TIMER, PIN> !RefUnwindSafe for PwmChannelComplementary<TIMER, PIN>
impl<TIMER, PIN> !Send for PwmChannelComplementary<TIMER, PIN>
impl<TIMER, PIN> !Sync for PwmChannelComplementary<TIMER, PIN>
impl<TIMER, PIN> Unpin for PwmChannelComplementary<TIMER, PIN> where
PIN: Unpin,
TIMER: Unpin,
impl<TIMER, PIN> !UnwindSafe for PwmChannelComplementary<TIMER, PIN>
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