#[repr(u8)]pub enum TimctlPincfg {
OUTDISABLE = 0,
OPEND_BIDIROUTEN = 1,
BIDIR_OUTDATA = 2,
OUTPUT = 3,
}Variants§
OUTDISABLE = 0
Timer pin output disabled
OPEND_BIDIROUTEN = 1
Timer pin open-drain or bidirectional output enable
BIDIR_OUTDATA = 2
Timer pin bidirectional output data
OUTPUT = 3
Timer pin output
Implementations§
Source§impl TimctlPincfg
impl TimctlPincfg
Trait Implementations§
Source§impl Clone for TimctlPincfg
impl Clone for TimctlPincfg
Source§fn clone(&self) -> TimctlPincfg
fn clone(&self) -> TimctlPincfg
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 TimctlPincfg
impl Debug for TimctlPincfg
Source§impl From<TimctlPincfg> for u8
impl From<TimctlPincfg> for u8
Source§fn from(val: TimctlPincfg) -> u8
fn from(val: TimctlPincfg) -> u8
Converts to this type from the input type.
Source§impl From<u8> for TimctlPincfg
impl From<u8> for TimctlPincfg
Source§fn from(val: u8) -> TimctlPincfg
fn from(val: u8) -> TimctlPincfg
Converts to this type from the input type.
Source§impl Ord for TimctlPincfg
impl Ord for TimctlPincfg
Source§fn cmp(&self, other: &TimctlPincfg) -> Ordering
fn cmp(&self, other: &TimctlPincfg) -> 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 TimctlPincfg
impl PartialEq for TimctlPincfg
Source§impl PartialOrd for TimctlPincfg
impl PartialOrd for TimctlPincfg
impl Copy for TimctlPincfg
impl Eq for TimctlPincfg
impl StructuralPartialEq for TimctlPincfg
Auto Trait Implementations§
impl Freeze for TimctlPincfg
impl RefUnwindSafe for TimctlPincfg
impl Send for TimctlPincfg
impl Sync for TimctlPincfg
impl Unpin for TimctlPincfg
impl UnwindSafe for TimctlPincfg
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