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
§impl PartialOrd for Adc2DmaRmpCfgr3
impl PartialOrd for Adc2DmaRmpCfgr3
impl Copy for Adc2DmaRmpCfgr3
impl Eq for Adc2DmaRmpCfgr3
impl StructuralPartialEq for Adc2DmaRmpCfgr3
Auto Trait Implementations§
impl Freeze for Adc2DmaRmpCfgr3
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
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
)