pub struct DmaPool {Show 16 fields
pub ch0: Option<Peri<'static, DMA_CH0>>,
pub ch1: Option<Peri<'static, DMA_CH1>>,
pub ch2: Option<Peri<'static, DMA_CH2>>,
pub ch3: Option<Peri<'static, DMA_CH3>>,
pub ch4: Option<Peri<'static, DMA_CH4>>,
pub ch5: Option<Peri<'static, DMA_CH5>>,
pub ch6: Option<Peri<'static, DMA_CH6>>,
pub ch7: Option<Peri<'static, DMA_CH7>>,
pub ch8: Option<Peri<'static, DMA_CH8>>,
pub ch9: Option<Peri<'static, DMA_CH9>>,
pub ch10: Option<Peri<'static, DMA_CH10>>,
pub ch11: Option<Peri<'static, DMA_CH11>>,
pub ch12: Option<Peri<'static, DMA_CH12>>,
pub ch13: Option<Peri<'static, DMA_CH13>>,
pub ch14: Option<Peri<'static, DMA_CH14>>,
pub ch15: Option<Peri<'static, DMA_CH15>>,
}Expand description
Set of DMA channels the board hands to the allocator. Fields left as
None are not owned by the allocator and can’t be dispensed.
Fields§
§ch0: Option<Peri<'static, DMA_CH0>>§ch1: Option<Peri<'static, DMA_CH1>>§ch2: Option<Peri<'static, DMA_CH2>>§ch3: Option<Peri<'static, DMA_CH3>>§ch4: Option<Peri<'static, DMA_CH4>>§ch5: Option<Peri<'static, DMA_CH5>>§ch6: Option<Peri<'static, DMA_CH6>>§ch7: Option<Peri<'static, DMA_CH7>>§ch8: Option<Peri<'static, DMA_CH8>>§ch9: Option<Peri<'static, DMA_CH9>>§ch10: Option<Peri<'static, DMA_CH10>>§ch11: Option<Peri<'static, DMA_CH11>>§ch12: Option<Peri<'static, DMA_CH12>>§ch13: Option<Peri<'static, DMA_CH13>>§ch14: Option<Peri<'static, DMA_CH14>>§ch15: Option<Peri<'static, DMA_CH15>>Implementations§
Auto Trait Implementations§
impl !UnwindSafe for DmaPool
impl Freeze for DmaPool
impl RefUnwindSafe for DmaPool
impl Send for DmaPool
impl Sync for DmaPool
impl Unpin for DmaPool
impl UnsafeUnpin for DmaPool
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.