Enum stm32_metapac::syscfg::vals::Adc2DmaRmpCfgr3
#[repr(u8)]pub enum Adc2DmaRmpCfgr3 {
_RESERVED_0 = 0,
_RESERVED_1 = 1,
MAPDMA1CH2 = 2,
MAPDMA1CH4 = 3,
}
Variants§
_RESERVED_0 = 0
_RESERVED_1 = 1
MAPDMA1CH2 = 2
ADC2 mapped on DMA1 channel 2
MAPDMA1CH4 = 3
ADC2 mapped on DMA1 channel 4
Implementations§
§impl Adc2DmaRmpCfgr3
impl Adc2DmaRmpCfgr3
pub const fn from_bits(val: u8) -> Adc2DmaRmpCfgr3
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Adc2DmaRmpCfgr3
impl Clone for Adc2DmaRmpCfgr3
§fn clone(&self) -> Adc2DmaRmpCfgr3
fn clone(&self) -> Adc2DmaRmpCfgr3
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<Adc2DmaRmpCfgr3> for u8
impl From<Adc2DmaRmpCfgr3> for u8
§fn from(val: Adc2DmaRmpCfgr3) -> u8
fn from(val: Adc2DmaRmpCfgr3) -> u8
Converts to this type from the input type.
§impl From<u8> for Adc2DmaRmpCfgr3
impl From<u8> for Adc2DmaRmpCfgr3
§fn from(val: u8) -> Adc2DmaRmpCfgr3
fn from(val: u8) -> Adc2DmaRmpCfgr3
Converts to this type from the input type.
§impl Ord for Adc2DmaRmpCfgr3
impl Ord for Adc2DmaRmpCfgr3
§impl PartialEq for Adc2DmaRmpCfgr3
impl PartialEq for Adc2DmaRmpCfgr3
§fn eq(&self, other: &Adc2DmaRmpCfgr3) -> bool
fn eq(&self, other: &Adc2DmaRmpCfgr3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Adc2DmaRmpCfgr3
impl PartialOrd for Adc2DmaRmpCfgr3
§fn partial_cmp(&self, other: &Adc2DmaRmpCfgr3) -> Option<Ordering>
fn partial_cmp(&self, other: &Adc2DmaRmpCfgr3) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Adc2DmaRmpCfgr3
impl Eq for Adc2DmaRmpCfgr3
impl StructuralEq for Adc2DmaRmpCfgr3
impl StructuralPartialEq for Adc2DmaRmpCfgr3
Auto Trait Implementations§
impl RefUnwindSafe for Adc2DmaRmpCfgr3
impl Send for Adc2DmaRmpCfgr3
impl Sync for Adc2DmaRmpCfgr3
impl Unpin for Adc2DmaRmpCfgr3
impl UnwindSafe for Adc2DmaRmpCfgr3
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