Enum imxrt_hal::flexpwm::ClockSelect
source · #[repr(u16)]pub enum ClockSelect {
Ipg = 0,
External = 1,
Submodule0 = 2,
}
Expand description
PWM input clock selection.
Variants§
Ipg = 0
Derive from the IPG clock.
External = 1
Use EXT_CLK, an external clock.
Submodule0 = 2
Use submodule 0’s clock.
The clock is controlled by SM0’s run bit. It’s affected by the SM0 prescaler.
You cannot use this clock for submodule 0 itself.
Trait Implementations§
source§impl Clone for ClockSelect
impl Clone for ClockSelect
source§fn clone(&self) -> ClockSelect
fn clone(&self) -> ClockSelect
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 Debug for ClockSelect
impl Debug for ClockSelect
source§impl PartialEq for ClockSelect
impl PartialEq for ClockSelect
source§fn eq(&self, other: &ClockSelect) -> bool
fn eq(&self, other: &ClockSelect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ClockSelect
impl Eq for ClockSelect
impl StructuralEq for ClockSelect
impl StructuralPartialEq for ClockSelect
Auto Trait Implementations§
impl RefUnwindSafe for ClockSelect
impl Send for ClockSelect
impl Sync for ClockSelect
impl Unpin for ClockSelect
impl UnwindSafe for ClockSelect
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