Skip to content

Commit

Permalink
Adjust visibility of DMA mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Dec 17, 2023
1 parent 0c5dcae commit 0cfe3a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/chip/dma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ mod mappings {
pub(super) const LPUART_DMA_RX_MAPPING: [u32; 8] = [3, 67, 5, 69, 7, 71, 9, 73];
pub(super) const LPUART_DMA_TX_MAPPING: [u32; 8] = [2, 66, 4, 68, 6, 70, 8, 72];

pub(super) const LPSPI_DMA_RX_MAPPING: [u32; 4] = [13, 77, 15, 79];
pub(super) const LPSPI_DMA_TX_MAPPING: [u32; 4] = [14, 78, 16, 80];
pub(crate) const LPSPI_DMA_RX_MAPPING: [u32; 4] = [13, 77, 15, 79];
pub(crate) const LPSPI_DMA_TX_MAPPING: [u32; 4] = [14, 78, 16, 80];

pub(super) const ADC_DMA_RX_MAPPING: [u32; 2] = [24, 88];
}
Expand All @@ -75,8 +75,8 @@ mod mappings {
pub(super) const LPUART_DMA_TX_MAPPING: [u32; 12] =
[8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30];

pub(super) const LPSPI_DMA_RX_MAPPING: [u32; 6] = [36, 38, 40, 42, 44, 46];
pub(super) const LPSPI_DMA_TX_MAPPING: [u32; 6] = [37, 39, 41, 43, 45, 47];
pub(crate) const LPSPI_DMA_RX_MAPPING: [u32; 6] = [36, 38, 40, 42, 44, 46];
pub(crate) const LPSPI_DMA_TX_MAPPING: [u32; 6] = [37, 39, 41, 43, 45, 47];
}
use mappings::*;

Expand Down

0 comments on commit 0cfe3a7

Please sign in to comment.