Enum embassy_stm32::timer::low_level::OutputPolarity
source ยท pub enum OutputPolarity {
ActiveHigh,
ActiveLow,
}
Expand description
Timer output pin polarity.
Variantsยง
ActiveHigh
Active high (higher duty value makes the pin spend more time high).
ActiveLow
Active low (higher duty value makes the pin spend more time low).
Trait Implementationsยง
sourceยงimpl Clone for OutputPolarity
impl Clone for OutputPolarity
sourceยงfn clone(&self) -> OutputPolarity
fn clone(&self) -> OutputPolarity
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceยงimpl From<OutputPolarity> for bool
impl From<OutputPolarity> for bool
sourceยงfn from(mode: OutputPolarity) -> Self
fn from(mode: OutputPolarity) -> Self
Converts to this type from the input type.
impl Copy for OutputPolarity
Auto Trait Implementationsยง
impl Freeze for OutputPolarity
impl RefUnwindSafe for OutputPolarity
impl Send for OutputPolarity
impl Sync for OutputPolarity
impl Unpin for OutputPolarity
impl UnwindSafe for OutputPolarity
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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)