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

Functions

HAL_StatusTypeDef HAL_AUDPRC_Config_TChanel (AUDPRC_HandleTypeDef *haprc, int channel, AUDPRC_ChnlCfgTypeDef *cfg)
 Set AUDPRC transmit channel configures. More...
 
HAL_StatusTypeDef HAL_AUDPRC_Config_RChanel (AUDPRC_HandleTypeDef *haprc, int channel, AUDPRC_ChnlCfgTypeDef *cfg)
 Set AUDPRC Receive configures. More...
 
HAL_StatusTypeDef HAL_AUDPRC_Config_OutChanel (AUDPRC_HandleTypeDef *haprc, int channel, AUDPRC_ChnlCfgTypeDef *cfg)
 Set AUDPRC transmit output channel configures. More...
 
HAL_StatusTypeDef HAL_AUDPRC_Clear_All_Channel (AUDPRC_HandleTypeDef *haprc)
 all channel disable More...
 
HAL_StatusTypeDef HAL_AUDPRC_Config_DACPath (AUDPRC_HandleTypeDef *haprc, AUDPRC_DACCfgTypeDef *cfg)
 Configure DAC path. More...
 
HAL_StatusTypeDef HAL_AUDPRC_Config_ADCPath (AUDPRC_HandleTypeDef *haprc, AUDPRC_ADCCfgTypeDef *cfg)
 Configure ADC path. More...
 

Detailed Description

Function Documentation

◆ HAL_AUDPRC_Clear_All_Channel()

HAL_StatusTypeDef HAL_AUDPRC_Clear_All_Channel ( AUDPRC_HandleTypeDef haprc)

all channel disable

Parameters
haprc-pointer to a AUDPRC_HandleTypeDef structure that contains the configuration information for AUDPRC module
Returns
HAL status

◆ HAL_AUDPRC_Config_ADCPath()

HAL_StatusTypeDef HAL_AUDPRC_Config_ADCPath ( AUDPRC_HandleTypeDef haprc,
AUDPRC_ADCCfgTypeDef cfg 
)

Configure ADC path.

Parameters
haprcpointer to a AUDPRC_HandleTypeDef structure that contains the configuration information for AUDPRC module
cfgconfigure parameters
Return values
HALstatus

◆ HAL_AUDPRC_Config_DACPath()

HAL_StatusTypeDef HAL_AUDPRC_Config_DACPath ( AUDPRC_HandleTypeDef haprc,
AUDPRC_DACCfgTypeDef cfg 
)

Configure DAC path.

Parameters
haprcpointer to a AUDPRC_HandleTypeDef structure that contains the configuration information for AUDPRC module
cfgconfigure parameters
Return values
HALstatus

◆ HAL_AUDPRC_Config_OutChanel()

HAL_StatusTypeDef HAL_AUDPRC_Config_OutChanel ( AUDPRC_HandleTypeDef haprc,
int  channel,
AUDPRC_ChnlCfgTypeDef cfg 
)

Set AUDPRC transmit output channel configures.

Parameters
haprcpointer to a AUDPRC_HandleTypeDef structure that contains the configuration information for AUDPRC module
channelconfigure channel
cfgconfigure parameters
Return values
HALstatus

◆ HAL_AUDPRC_Config_RChanel()

HAL_StatusTypeDef HAL_AUDPRC_Config_RChanel ( AUDPRC_HandleTypeDef haprc,
int  channel,
AUDPRC_ChnlCfgTypeDef cfg 
)

Set AUDPRC Receive configures.

Parameters
haprcpointer to a AUDPRC_HandleTypeDef structure that contains the configuration information for AUDPRC module
channelconfigure channel
cfgconfigure parameters
Return values
HALstatus

◆ HAL_AUDPRC_Config_TChanel()

HAL_StatusTypeDef HAL_AUDPRC_Config_TChanel ( AUDPRC_HandleTypeDef haprc,
int  channel,
AUDPRC_ChnlCfgTypeDef cfg 
)

Set AUDPRC transmit channel configures.

Parameters
haprcpointer to a AUDPRC_HandleTypeDef structure that contains the configuration information for AUDPRC module
channelconfigure channel
cfgconfigure parameters
Return values
HALstatus