STM32G474xx HAL用户手册
定义
DMA错误码
DMA导出常量

定义

#define HAL_DMA_ERROR_NONE   0x00000000U
#define HAL_DMA_ERROR_TE   0x00000001U
#define HAL_DMA_ERROR_NO_XFER   0x00000004U
#define HAL_DMA_ERROR_TIMEOUT   0x00000020U
#define HAL_DMA_ERROR_NOT_SUPPORTED   0x00000100U
#define HAL_DMA_ERROR_SYNC   0x00000200U
#define HAL_DMA_ERROR_REQGEN   0x00000400U

定义说明

#define HAL_DMA_ERROR_NO_XFER   0x00000004U

请求中止,但无传输正在进行

Definition at line 167 of file stm32g4xx_hal_dma.h.

Referenced by HAL_DMA_Abort(), HAL_DMA_Abort_IT(), and HAL_DMA_PollForTransfer().

#define HAL_DMA_ERROR_NONE   0x00000000U

无错误

Definition at line 165 of file stm32g4xx_hal_dma.h.

Referenced by HAL_DMA_DeInit(), HAL_DMA_Init(), HAL_DMA_Start(), and HAL_DMA_Start_IT().

#define HAL_DMA_ERROR_NOT_SUPPORTED   0x00000100U

不支持的模式

Definition at line 169 of file stm32g4xx_hal_dma.h.

Referenced by HAL_DMA_PollForTransfer().

#define HAL_DMA_ERROR_REQGEN   0x00000400U

DMAMUX请求生成器溢出错误

Definition at line 171 of file stm32g4xx_hal_dma.h.

Referenced by HAL_DMA_PollForTransfer(), and HAL_DMAEx_MUX_IRQHandler().

#define HAL_DMA_ERROR_SYNC   0x00000200U

DMAMUX同步溢出错误

Definition at line 170 of file stm32g4xx_hal_dma.h.

Referenced by HAL_DMA_PollForTransfer(), and HAL_DMAEx_MUX_IRQHandler().

#define HAL_DMA_ERROR_TE   0x00000001U

传输错误

Definition at line 166 of file stm32g4xx_hal_dma.h.

Referenced by HAL_DMA_IRQHandler(), and HAL_DMA_PollForTransfer().

#define HAL_DMA_ERROR_TIMEOUT   0x00000020U