Enum Trgtmodsel
#[repr(u8)]pub enum Trgtmodsel {
InterruptOnly = 0,
_RESERVED_1 = 1,
InterruptAndPps = 2,
PpsOnly = 3,
}Variants§
InterruptOnly = 0
Target Time registers are programmed only for generating the interrupt event
_RESERVED_1 = 1
InterruptAndPps = 2
Target Time registers are programmed for generating the interrupt event and starting or stopping the PPS output signal generation
PpsOnly = 3
Target Time registers are programmed only for starting or stopping the PPS output signal generation, no interrupt is asserted
Implementations§
§impl Trgtmodsel
impl Trgtmodsel
pub const fn from_bits(val: u8) -> Trgtmodsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Trgtmodsel
impl Clone for Trgtmodsel
§fn clone(&self) -> Trgtmodsel
fn clone(&self) -> Trgtmodsel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Trgtmodsel
impl Eq for Trgtmodsel
§impl From<Trgtmodsel> for u8
impl From<Trgtmodsel> for u8
§fn from(val: Trgtmodsel) -> u8
fn from(val: Trgtmodsel) -> u8
Converts to this type from the input type.
§impl From<u8> for Trgtmodsel
impl From<u8> for Trgtmodsel
§fn from(val: u8) -> Trgtmodsel
fn from(val: u8) -> Trgtmodsel
Converts to this type from the input type.
§impl Ord for Trgtmodsel
impl Ord for Trgtmodsel
§fn cmp(&self, other: &Trgtmodsel) -> Ordering
fn cmp(&self, other: &Trgtmodsel) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Trgtmodsel
impl PartialEq for Trgtmodsel
§impl PartialOrd for Trgtmodsel
impl PartialOrd for Trgtmodsel
impl StructuralPartialEq for Trgtmodsel
Auto Trait Implementations§
impl Freeze for Trgtmodsel
impl RefUnwindSafe for Trgtmodsel
impl Send for Trgtmodsel
impl Sync for Trgtmodsel
impl Unpin for Trgtmodsel
impl UnsafeUnpin for Trgtmodsel
impl UnwindSafe for Trgtmodsel
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