HAL_DAC_ErrorCallbackCh. STMicroelectronics STM32F4
Annonce
Annonce
UM1725
Parameters
Return values
hdac: pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
None
12.3.19 HAL_DAC_ErrorCallbackCh1
Function Name
void HAL_DAC_ErrorCallbackCh1 (DAC_HandleTypeDef *
hdac)
Function Description Error DAC callback for Channel1.
Parameters
Return values
hdac: pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
None
12.3.20 HAL_DAC_DMAUnderrunCallbackCh1
Function Name
void HAL_DAC_DMAUnderrunCallbackCh1
(DAC_HandleTypeDef * hdac)
Function Description DMA underrun DAC callback for channel1.
Parameters
Return values
hdac: pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
None
12.3.21 HAL_DAC_ConfigChannel
Function Name
HAL_StatusTypeDef HAL_DAC_ConfigChannel
(DAC_HandleTypeDef * hdac, DAC_ChannelConfTypeDef *
sConfig, uint32_t Channel)
Function Description Configures the selected DAC channel.
Parameters
Return values
hdac: pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
sConfig: DAC configuration structure.
Channel: The selected DAC channel. This parameter can be one of the following values: DAC_CHANNEL_1: DAC
Channel1 selectedDAC_CHANNEL_2: DAC Channel2 selected
HAL status
12.3.22 HAL_DAC_SetValue
Function Name
HAL_StatusTypeDef HAL_DAC_SetValue
(DAC_HandleTypeDef * hdac, uint32_t Channel, uint32_t
Alignment, uint32_t Data)
Function Description Set the specified data holding register value for DAC channel.
Parameters
hdac: pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
Channel: The selected DAC channel. This parameter can be one of the following values: DAC_CHANNEL_1: DAC
Channel1 selectedDAC_CHANNEL_2: DAC Channel2
DOCID025834 Rev 3 217/963
Download
Annonce