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