stm32/cryp: remove DMA generic param.

This commit is contained in:
Dario Nieuwenhuis 2025-03-25 22:18:21 +01:00
parent db86aba841
commit a592acb806
2 changed files with 445 additions and 463 deletions

File diff suppressed because it is too large Load Diff

View File

@ -108,17 +108,6 @@ impl Channel for AnyChannel {}
const CHANNEL_COUNT: usize = crate::_generated::DMA_CHANNELS.len();
static STATE: [ChannelState; CHANNEL_COUNT] = [ChannelState::NEW; CHANNEL_COUNT];
/// "No DMA" placeholder.
///
/// You may pass this in place of a real DMA channel when creating a driver
/// to indicate it should not use DMA.
///
/// This often causes async functionality to not be available on the instance,
/// leaving only blocking functionality.
pub struct NoDma;
impl_peripheral!(NoDma);
// safety: must be called only once at startup
pub(crate) unsafe fn init(
cs: critical_section::CriticalSection,