Enum Ftm4ObeCtrl
pub enum Ftm4ObeCtrl {
_0 = 0,
_1 = 1,
}Expand description
FTM4 OBE CTRL bit
Value on reset: 0
Variants§
_0 = 0
0: The FTM channel output is put to safe state when the FTM counter is enabled and the FTM channel output is enabled by Fault Control (FTM_MODE[FAULTM]!=2’b00 and FTM_FLTCTRL[FSTATE]=1’b0) and PWM is enabled (FTM_SC[PWMENn] = 1’b1). Otherwise the channel output is tristated.
_1 = 1
1: The FTM channel output state is retained when the channel is in output mode. The output channel is tristated when the channel is in input capture [DECAPEN=1’b0, COMBINE=1’b0, MSnB:MSnA=2’b00] or dual edge capture mode [DECAPEN=1’b1].
Trait Implementations§
§impl Clone for Ftm4ObeCtrl
impl Clone for Ftm4ObeCtrl
§fn clone(&self) -> Ftm4ObeCtrl
fn clone(&self) -> Ftm4ObeCtrl
Returns a duplicate 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 more§impl Debug for Ftm4ObeCtrl
impl Debug for Ftm4ObeCtrl
§impl Format for Ftm4ObeCtrl
impl Format for Ftm4ObeCtrl
§impl From<Ftm4ObeCtrl> for bool
impl From<Ftm4ObeCtrl> for bool
§fn from(variant: Ftm4ObeCtrl) -> Self
fn from(variant: Ftm4ObeCtrl) -> Self
Converts to this type from the input type.
§impl PartialEq for Ftm4ObeCtrl
impl PartialEq for Ftm4ObeCtrl
impl Copy for Ftm4ObeCtrl
impl Eq for Ftm4ObeCtrl
impl StructuralPartialEq for Ftm4ObeCtrl
Auto Trait Implementations§
impl Freeze for Ftm4ObeCtrl
impl RefUnwindSafe for Ftm4ObeCtrl
impl Send for Ftm4ObeCtrl
impl Sync for Ftm4ObeCtrl
impl Unpin for Ftm4ObeCtrl
impl UnwindSafe for Ftm4ObeCtrl
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