Channel: The selected DAC channel. This parameter can be
one of the following values:
DAC_CHANNEL_1: DAC Channel1 selected
DAC_CHANNEL_2: DAC Channel2 selected
Alignment: Specifies the data alignment. This parameter
can be one of the following values:
DAC_ALIGN_8B_R: 8bit right data alignment selected
DAC_ALIGN_12B_L: 12bit left data alignment selected
DAC_ALIGN_12B_R: 12bit right data alignment selected
Data: Data to be loaded in the selected data holding register.
HAL_DAC_GetState
HAL_DAC_StateTypeDef HAL_DAC_GetState
(DAC_HandleTypeDef * hdac)
hdac: pointer to a DAC_HandleTypeDef structure that
contains the configuration information for the specified DAC.
HAL_DAC_IRQHandler
void HAL_DAC_IRQHandler (DAC_HandleTypeDef * hdac)
Handles DAC interrupt request.
hdac: pointer to a DAC_HandleTypeDef structure that
contains the configuration information for the specified DAC.
HAL_DAC_GetError
uint32_t HAL_DAC_GetError (DAC_HandleTypeDef * hdac)
Return the DAC error code.
hdac: pointer to a DAC_HandleTypeDef structure that
contains the configuration information for the specified DAC.
HAL_DAC_ConvCpltCallbackCh1
void HAL_DAC_ConvCpltCallbackCh1 (DAC_HandleTypeDef *
hdac)
Conversion complete callback in non blocking mode for Channel1.
hdac: pointer to a DAC_HandleTypeDef structure that
contains the configuration information for the specified DAC.