思澈科技软件开发工具包  2.20
Peripheral State and Errors functions

Peripheral State and Errors functions. More...

Functions

HAL_EXT_DMA_StateTypeDef HAL_EXT_DMA_GetState (EXT_DMA_HandleTypeDef *hdma)
 Return the DMA hande state. More...
 
uint32_t HAL_EXT_DMA_GetError (EXT_DMA_HandleTypeDef *hdma)
 Return the DMA error code. More...
 
uint32_t HAL_EXT_DMA_GetCMPRQR (EXT_DMA_HandleTypeDef *hdma)
 Return the DMA CMPRQR value. More...
 
uint32_t HAL_EXT_DMA_GetCMPRDR (EXT_DMA_HandleTypeDef *hdma)
 Return the DMA CMPRDR value. More...
 
__STATIC_INLINE HAL_StatusTypeDef HAL_EXT_DMA_CalcCompressedSize (uint32_t counts, uint8_t cmpr_rate, uint32_t row_num, uint8_t pixel_size, uint32_t *compressed_size, uint32_t *target_size)
 

Detailed Description

Peripheral State and Errors functions.

EXT_DMA_Exported_Functions_Group2

 ===============================================================================
            ##### Peripheral State and Errors functions #####
 ===============================================================================
    [..]
    This subsection provides functions allowing to
      (+) Check the DMA state
      (+) Get error code

Function Documentation

◆ HAL_EXT_DMA_GetCMPRDR()

uint32_t HAL_EXT_DMA_GetCMPRDR ( EXT_DMA_HandleTypeDef hdma)

Return the DMA CMPRDR value.

Parameters
hdma: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel.
Return values
DMACMPRDR register value

◆ HAL_EXT_DMA_GetCMPRQR()

uint32_t HAL_EXT_DMA_GetCMPRQR ( EXT_DMA_HandleTypeDef hdma)

Return the DMA CMPRQR value.

Parameters
hdma: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel.
Return values
DMACMPRQR register value

◆ HAL_EXT_DMA_GetError()

uint32_t HAL_EXT_DMA_GetError ( EXT_DMA_HandleTypeDef hdma)

Return the DMA error code.

Parameters
hdma: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel.
Return values
DMAError Code

◆ HAL_EXT_DMA_GetState()

HAL_EXT_DMA_StateTypeDef HAL_EXT_DMA_GetState ( EXT_DMA_HandleTypeDef hdma)

Return the DMA hande state.

Parameters
hdmapointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel.
Return values
HALstate