removing DMAINFO typedef
This commit is contained in:
parent
bca15a3298
commit
a17ad75673
10 changed files with 16 additions and 16 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <inttypes.h>
|
||||
#include <platform/dma_ll.h>
|
||||
|
||||
typedef struct {
|
||||
struct dmainfo_t {
|
||||
DMA_TypeDef *dma;
|
||||
uint32_t stream;
|
||||
volatile uint32_t *isReg;
|
||||
|
@ -20,7 +20,7 @@ typedef struct {
|
|||
uint32_t teMask;
|
||||
uint32_t htMask;
|
||||
uint32_t tcMask;
|
||||
} DMAINFO;
|
||||
};
|
||||
|
||||
volatile uint32_t* Dma_GetIsReg(DMA_TypeDef *dma, uint32_t stream);
|
||||
volatile uint32_t* Dma_GetIfcReg(DMA_TypeDef *dma, uint32_t stream);
|
||||
|
@ -30,6 +30,6 @@ uint32_t Dma_GetHtMask(uint32_t stream);
|
|||
uint32_t Dma_GetTcMask(uint32_t stream);
|
||||
uint32_t Dma_GetFeMask(uint32_t stream);
|
||||
|
||||
void Dma_Init(DMAINFO *info, DMA_TypeDef *dma, uint32_t stream);
|
||||
void Dma_Init(struct dmainfo_t *info, DMA_TypeDef *dma, uint32_t stream);
|
||||
|
||||
#endif /* DMA_HELPER_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue