fix: typo
This commit is contained in:
@@ -13,7 +13,7 @@ typedef struct {
|
|||||||
volatile uint32_t RESV[10]; // 0x18 ~ 0x3C: 保留空间,凑齐 0x40 字节
|
volatile uint32_t RESV[10]; // 0x18 ~ 0x3C: 保留空间,凑齐 0x40 字节
|
||||||
} dma_ch_regs_t;
|
} dma_ch_regs_t;
|
||||||
|
|
||||||
// 8通道 DMA 控制器基地址
|
// DMA 控制器基地址
|
||||||
#define CDMA_MUX_BASE 0xbf300000
|
#define CDMA_MUX_BASE 0xbf300000
|
||||||
#define DMA_CH(i) ((volatile dma_ch_regs_t*)(CDMA_MUX_BASE + (i) * 0x40))
|
#define DMA_CH(i) ((volatile dma_ch_regs_t*)(CDMA_MUX_BASE + (i) * 0x40))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user