思澈科技软件开发工具包  2.20
AUDPRC_Exported_Functions_Group3

Functions

HAL_StatusTypeDef HAL_AUDPRC_Transmit_DMA (AUDPRC_HandleTypeDef *haprc, uint8_t *pData, uint32_t Size, uint32_t did)
 Set AUDPRC Transmit data with DMA mode. More...
 
HAL_StatusTypeDef HAL_AUDPRC_Receive_DMA (AUDPRC_HandleTypeDef *haprc, uint8_t *pData, uint32_t Size, uint32_t did)
 Set AUDPRC Receive configures. More...
 
HAL_StatusTypeDef HAL_AUDPRC_DMAStop (AUDPRC_HandleTypeDef *haprc, uint32_t did)
 Stop AUD PRC DMA. More...
 

Detailed Description

Function Documentation

◆ HAL_AUDPRC_DMAStop()

HAL_StatusTypeDef HAL_AUDPRC_DMAStop ( AUDPRC_HandleTypeDef haprc,
uint32_t  did 
)

Stop AUD PRC DMA.

Parameters
haprcpointer to a AUDPRC_HandleTypeDef structure that contains the configuration information for AUDPRC module
didDMA channel index
Return values
HALstatus

◆ HAL_AUDPRC_Receive_DMA()

HAL_StatusTypeDef HAL_AUDPRC_Receive_DMA ( AUDPRC_HandleTypeDef haprc,
uint8_t *  pData,
uint32_t  Size,
uint32_t  did 
)

Set AUDPRC Receive configures.

Parameters
haprcpointer to a AUDPRC_HandleTypeDef structure that contains the configuration information for AUDPRC module
pDatadata buffer
Sizedata length need to be transmit
didDMA channel index
Return values
HALstatus

◆ HAL_AUDPRC_Transmit_DMA()

HAL_StatusTypeDef HAL_AUDPRC_Transmit_DMA ( AUDPRC_HandleTypeDef haprc,
uint8_t *  pData,
uint32_t  Size,
uint32_t  did 
)

Set AUDPRC Transmit data with DMA mode.

Parameters
haprcpointer to a AUDPRC_HandleTypeDef structure that contains the configuration information for AUDPRC module
pDatadata buffer
Sizedata length need to be transmit
didDMA channel index
Return values
HALstatus