pub struct Aes<'d> { /* private fields */ }Expand description
AES peripheral container
Implementations§
Source§impl<'d> Aes<'d>
impl<'d> Aes<'d>
Sourcepub fn with_dma<CH>(
self,
channel: Channel<'d, Blocking, CH>,
rx_descriptors: &'static mut [DmaDescriptor],
tx_descriptors: &'static mut [DmaDescriptor],
) -> AesDma<'d>where
CH: DmaChannelConvert<<AES as DmaEligible>::Dma>,
pub fn with_dma<CH>(
self,
channel: Channel<'d, Blocking, CH>,
rx_descriptors: &'static mut [DmaDescriptor],
tx_descriptors: &'static mut [DmaDescriptor],
) -> AesDma<'d>where
CH: DmaChannelConvert<<AES as DmaEligible>::Dma>,
Enable DMA for the current instance of the AES driver
Auto Trait Implementations§
impl<'d> Freeze for Aes<'d>
impl<'d> RefUnwindSafe for Aes<'d>
impl<'d> Send for Aes<'d>
impl<'d> Sync for Aes<'d>
impl<'d> Unpin for Aes<'d>
impl<'d> !UnwindSafe for Aes<'d>
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