pub enum IdlePolarity {
OisActive,
OisnActive,
}
Expand description
Determines which outputs are active when PWM is in idle mode
Variants§
OisActive
Normal channels are forced active and complementary channels are forced inactive
OisnActive
Normal channels are forced inactive and complementary channels are forced active
Trait Implementations§
Source§impl Clone for IdlePolarity
impl Clone for IdlePolarity
Source§fn clone(&self) -> IdlePolarity
fn clone(&self) -> IdlePolarity
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IdlePolarity
impl Debug for IdlePolarity
Source§impl PartialEq for IdlePolarity
impl PartialEq for IdlePolarity
impl Copy for IdlePolarity
impl Eq for IdlePolarity
impl StructuralPartialEq for IdlePolarity
Auto Trait Implementations§
impl Freeze for IdlePolarity
impl RefUnwindSafe for IdlePolarity
impl Send for IdlePolarity
impl Sync for IdlePolarity
impl Unpin for IdlePolarity
impl UnwindSafe for IdlePolarity
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