Enum stm32_hal2::timer::Polarity
source · [−]pub enum Polarity {
ActiveHigh,
ActiveLow,
}
Expand description
Capture/Compare output polarity. Defaults to ActiveHigh
in hardware. Sets TIMx_CCER register,
CCxP and CCXNP fields.
Variants
ActiveHigh
ActiveLow
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Polarity
impl Send for Polarity
impl Sync for Polarity
impl Unpin for Polarity
impl UnwindSafe for Polarity
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