#[repr(u8)]pub enum StretchCntPrsc {
DISABLED = 0,
ENABLED = 1,
DISABLED_LOCKED = 2,
ENABLED_LOCKED = 3,
}Variants§
DISABLED = 0
Stretch count is zero, no stretch.
ENABLED = 1
Stretch mux0_trig/mux1_trig/out0_trig/out1_trig/pwma_trig/pwmb_trig for 2 IPBus clock period.
DISABLED_LOCKED = 2
Stretch mux0_trig/mux1_trig/out0_trig/out1_trig/pwma_trig/pwmb_trig for 4 IPBus clock period.
ENABLED_LOCKED = 3
Stretch mux0_trig/mux1_trig/out0_trig/out1_trig/pwma_trig/pwmb_trig for 8 IPBus clock period.
Implementations§
Trait Implementations§
Source§impl Clone for StretchCntPrsc
impl Clone for StretchCntPrsc
Source§fn clone(&self) -> StretchCntPrsc
fn clone(&self) -> StretchCntPrsc
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 moreSource§impl Debug for StretchCntPrsc
impl Debug for StretchCntPrsc
Source§impl From<StretchCntPrsc> for u8
impl From<StretchCntPrsc> for u8
Source§fn from(val: StretchCntPrsc) -> u8
fn from(val: StretchCntPrsc) -> u8
Converts to this type from the input type.
Source§impl From<u8> for StretchCntPrsc
impl From<u8> for StretchCntPrsc
Source§fn from(val: u8) -> StretchCntPrsc
fn from(val: u8) -> StretchCntPrsc
Converts to this type from the input type.
Source§impl Ord for StretchCntPrsc
impl Ord for StretchCntPrsc
Source§fn cmp(&self, other: &StretchCntPrsc) -> Ordering
fn cmp(&self, other: &StretchCntPrsc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StretchCntPrsc
impl PartialEq for StretchCntPrsc
Source§impl PartialOrd for StretchCntPrsc
impl PartialOrd for StretchCntPrsc
impl Copy for StretchCntPrsc
impl Eq for StretchCntPrsc
impl StructuralPartialEq for StretchCntPrsc
Auto Trait Implementations§
impl Freeze for StretchCntPrsc
impl RefUnwindSafe for StretchCntPrsc
impl Send for StretchCntPrsc
impl Sync for StretchCntPrsc
impl Unpin for StretchCntPrsc
impl UnwindSafe for StretchCntPrsc
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