Enum CcmrInputCcs
#[repr(u8)]pub enum CcmrInputCcs {
_RESERVED_0 = 0,
TI4 = 1,
TI3 = 2,
TRC = 3,
}
Variants§
_RESERVED_0 = 0
TI4 = 1
CCx channel is configured as input, normal mapping: ICx mapped to TIx
TI3 = 2
CCx channel is configured as input, alternate mapping (switches 1 with 2, 3 with 4)
TRC = 3
CCx channel is configured as input, ICx is mapped on TRC
Implementations§
§impl CcmrInputCcs
impl CcmrInputCcs
pub const fn from_bits(val: u8) -> CcmrInputCcs
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for CcmrInputCcs
impl Clone for CcmrInputCcs
§fn clone(&self) -> CcmrInputCcs
fn clone(&self) -> CcmrInputCcs
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 more§impl From<CcmrInputCcs> for u8
impl From<CcmrInputCcs> for u8
§fn from(val: CcmrInputCcs) -> u8
fn from(val: CcmrInputCcs) -> u8
Converts to this type from the input type.
§impl From<u8> for CcmrInputCcs
impl From<u8> for CcmrInputCcs
§fn from(val: u8) -> CcmrInputCcs
fn from(val: u8) -> CcmrInputCcs
Converts to this type from the input type.
§impl Ord for CcmrInputCcs
impl Ord for CcmrInputCcs
§impl PartialEq for CcmrInputCcs
impl PartialEq for CcmrInputCcs
§impl PartialOrd for CcmrInputCcs
impl PartialOrd for CcmrInputCcs
impl Copy for CcmrInputCcs
impl Eq for CcmrInputCcs
impl StructuralPartialEq for CcmrInputCcs
Auto Trait Implementations§
impl Freeze for CcmrInputCcs
impl RefUnwindSafe for CcmrInputCcs
impl Send for CcmrInputCcs
impl Sync for CcmrInputCcs
impl Unpin for CcmrInputCcs
impl UnwindSafe for CcmrInputCcs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)