Enum stm32_metapac::syscfg::vals::Spi1RxDmaRmp
#[repr(u8)]pub enum Spi1RxDmaRmp {
MAPDMA1CH3 = 0,
MAPDMA1CH5 = 1,
MAPDMA1CH7 = 2,
_RESERVED_3 = 3,
}
Variants§
MAPDMA1CH3 = 0
SPI1_RX mapped on DMA1 CH2
MAPDMA1CH5 = 1
SPI1_RX mapped on DMA1 CH4
MAPDMA1CH7 = 2
SPI1_RX mapped on DMA1 CH6
_RESERVED_3 = 3
Implementations§
§impl Spi1RxDmaRmp
impl Spi1RxDmaRmp
pub const fn from_bits(val: u8) -> Spi1RxDmaRmp
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Spi1RxDmaRmp
impl Clone for Spi1RxDmaRmp
§fn clone(&self) -> Spi1RxDmaRmp
fn clone(&self) -> Spi1RxDmaRmp
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<Spi1RxDmaRmp> for u8
impl From<Spi1RxDmaRmp> for u8
§fn from(val: Spi1RxDmaRmp) -> u8
fn from(val: Spi1RxDmaRmp) -> u8
Converts to this type from the input type.
§impl From<u8> for Spi1RxDmaRmp
impl From<u8> for Spi1RxDmaRmp
§fn from(val: u8) -> Spi1RxDmaRmp
fn from(val: u8) -> Spi1RxDmaRmp
Converts to this type from the input type.
§impl Ord for Spi1RxDmaRmp
impl Ord for Spi1RxDmaRmp
§impl PartialEq for Spi1RxDmaRmp
impl PartialEq for Spi1RxDmaRmp
§impl PartialOrd for Spi1RxDmaRmp
impl PartialOrd for Spi1RxDmaRmp
impl Copy for Spi1RxDmaRmp
impl Eq for Spi1RxDmaRmp
impl StructuralPartialEq for Spi1RxDmaRmp
Auto Trait Implementations§
impl Freeze for Spi1RxDmaRmp
impl RefUnwindSafe for Spi1RxDmaRmp
impl Send for Spi1RxDmaRmp
impl Sync for Spi1RxDmaRmp
impl Unpin for Spi1RxDmaRmp
impl UnwindSafe for Spi1RxDmaRmp
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
)