diff options
| author | James Munns <[email protected]> | 2025-12-05 14:57:25 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-12-05 14:57:25 +0100 |
| commit | 1ce2083f9a0fcf1cfbb10de0fb3ed44b460a5cc7 (patch) | |
| tree | cb561beff31634841c1b1c67e31da74a449336a6 /examples/mcxa/src | |
| parent | 273b996efe489b285f2da6ab6e2ad8077463a576 (diff) | |
Enable DMA interrupts in constructors
Diffstat (limited to 'examples/mcxa/src')
| -rw-r--r-- | examples/mcxa/src/bin/lpuart_dma.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/mcxa/src/bin/lpuart_dma.rs b/examples/mcxa/src/bin/lpuart_dma.rs index 5497f8646..1fc6595e6 100644 --- a/examples/mcxa/src/bin/lpuart_dma.rs +++ b/examples/mcxa/src/bin/lpuart_dma.rs | |||
| @@ -32,12 +32,6 @@ async fn main(_spawner: Spawner) { | |||
| 32 | 32 | ||
| 33 | defmt::info!("LPUART DMA example starting..."); | 33 | defmt::info!("LPUART DMA example starting..."); |
| 34 | 34 | ||
| 35 | // Enable DMA interrupts (per-channel, as needed) | ||
| 36 | unsafe { | ||
| 37 | cortex_m::peripheral::NVIC::unmask(pac::Interrupt::DMA_CH0); | ||
| 38 | cortex_m::peripheral::NVIC::unmask(pac::Interrupt::DMA_CH1); | ||
| 39 | } | ||
| 40 | |||
| 41 | // Create UART configuration | 35 | // Create UART configuration |
| 42 | let config = Config { | 36 | let config = Config { |
| 43 | baudrate_bps: 115_200, | 37 | baudrate_bps: 115_200, |
