|
STM32L4xx_HAL_Driver
1.14.0
|
Extended IO operation functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_DACEx_TriangleWaveGenerate (DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t Amplitude) |
| Enable or disable the selected DAC channel wave generation. More... | |
| HAL_StatusTypeDef | HAL_DACEx_NoiseWaveGenerate (DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t Amplitude) |
| Enable or disable the selected DAC channel wave generation. More... | |
| HAL_StatusTypeDef | HAL_DACEx_DualSetValue (DAC_HandleTypeDef *hdac, uint32_t Alignment, uint32_t Data1, uint32_t Data2) |
| Set the specified data holding register value for dual DAC channel. More... | |
| __weak void | HAL_DACEx_ConvCpltCallbackCh2 (DAC_HandleTypeDef *hdac) |
| Conversion complete callback in non-blocking mode for Channel2. More... | |
| __weak void | HAL_DACEx_ConvHalfCpltCallbackCh2 (DAC_HandleTypeDef *hdac) |
| Conversion half DMA transfer callback in non-blocking mode for Channel2. More... | |
| __weak void | HAL_DACEx_ErrorCallbackCh2 (DAC_HandleTypeDef *hdac) |
| Error DAC callback for Channel2. More... | |
| __weak void | HAL_DACEx_DMAUnderrunCallbackCh2 (DAC_HandleTypeDef *hdac) |
| DMA underrun DAC callback for Channel2. More... | |
| HAL_StatusTypeDef | HAL_DACEx_SelfCalibrate (DAC_HandleTypeDef *hdac, DAC_ChannelConfTypeDef *sConfig, uint32_t Channel) |
| Run the self calibration of one DAC channel. More... | |
| HAL_StatusTypeDef | HAL_DACEx_SetUserTrimming (DAC_HandleTypeDef *hdac, DAC_ChannelConfTypeDef *sConfig, uint32_t Channel, uint32_t NewTrimmingValue) |
| Set the trimming mode and trimming value (user trimming mode applied). More... | |
| uint32_t | HAL_DACEx_GetTrimOffset (DAC_HandleTypeDef *hdac, uint32_t Channel) |
| Return the DAC trimming value. More... | |
Extended IO operation functions.
==============================================================================
##### Extended features functions #####
==============================================================================
[..] This section provides functions allowing to:
(+) Start conversion.
(+) Stop conversion.
(+) Start conversion and enable DMA transfer.
(+) Stop conversion and disable DMA transfer.
(+) Get result of conversion.
(+) Get result of dual mode conversion. | __weak void HAL_DACEx_ConvCpltCallbackCh2 | ( | DAC_HandleTypeDef * | hdac | ) |
Conversion complete callback in non-blocking mode for Channel2.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| None |
Definition at line 248 of file stm32l4xx_hal_dac_ex.c.
| __weak void HAL_DACEx_ConvHalfCpltCallbackCh2 | ( | DAC_HandleTypeDef * | hdac | ) |
Conversion half DMA transfer callback in non-blocking mode for Channel2.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| None |
Definition at line 264 of file stm32l4xx_hal_dac_ex.c.
| __weak void HAL_DACEx_DMAUnderrunCallbackCh2 | ( | DAC_HandleTypeDef * | hdac | ) |
DMA underrun DAC callback for Channel2.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| None |
Definition at line 296 of file stm32l4xx_hal_dac_ex.c.
| HAL_StatusTypeDef HAL_DACEx_DualSetValue | ( | DAC_HandleTypeDef * | hdac, |
| uint32_t | Alignment, | ||
| uint32_t | Data1, | ||
| uint32_t | Data2 | ||
| ) |
Set the specified data holding register value for dual DAC channel.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| Alignment | Specifies the data alignment for dual channel DAC. 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 |
| Data1 | Data for DAC Channel1 to be loaded in the selected data holding register. |
| Data2 | Data for DAC Channel2 to be loaded in the selected data holding register. |
| HAL | status |
Definition at line 212 of file stm32l4xx_hal_dac_ex.c.
| __weak void HAL_DACEx_ErrorCallbackCh2 | ( | DAC_HandleTypeDef * | hdac | ) |
Error DAC callback for Channel2.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| None |
Definition at line 280 of file stm32l4xx_hal_dac_ex.c.
| uint32_t HAL_DACEx_GetTrimOffset | ( | DAC_HandleTypeDef * | hdac, |
| uint32_t | Channel | ||
| ) |
Return the DAC trimming value.
| hdac | DAC handle |
| Channel | The selected DAC channel. This parameter can be one of the following values:
|
| Trimming | value : range: 0->31 |
Definition at line 503 of file stm32l4xx_hal_dac_ex.c.
| HAL_StatusTypeDef HAL_DACEx_NoiseWaveGenerate | ( | DAC_HandleTypeDef * | hdac, |
| uint32_t | Channel, | ||
| uint32_t | Amplitude | ||
| ) |
Enable or disable the selected DAC channel wave generation.
| 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:
|
| Amplitude | Unmask DAC channel LFSR for noise wave generation. This parameter can be one of the following values:
|
| HAL | status |
Definition at line 168 of file stm32l4xx_hal_dac_ex.c.
| HAL_StatusTypeDef HAL_DACEx_SelfCalibrate | ( | DAC_HandleTypeDef * | hdac, |
| DAC_ChannelConfTypeDef * | sConfig, | ||
| uint32_t | Channel | ||
| ) |
Run the self calibration of one DAC channel.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| sConfig | DAC channel configuration structure. |
| Channel | The selected DAC channel. This parameter can be one of the following values:
|
| Updates | DAC_TrimmingValue. , DAC_UserTrimming set to DAC_UserTrimming |
| HAL | status |
Definition at line 323 of file stm32l4xx_hal_dac_ex.c.
| HAL_StatusTypeDef HAL_DACEx_SetUserTrimming | ( | DAC_HandleTypeDef * | hdac, |
| DAC_ChannelConfTypeDef * | sConfig, | ||
| uint32_t | Channel, | ||
| uint32_t | NewTrimmingValue | ||
| ) |
Set the trimming mode and trimming value (user trimming mode applied).
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| sConfig | DAC configuration structure updated with new DAC trimming value. |
| Channel | The selected DAC channel. This parameter can be one of the following values:
|
| NewTrimmingValue | DAC new trimming value |
| HAL | status |
Definition at line 460 of file stm32l4xx_hal_dac_ex.c.
| HAL_StatusTypeDef HAL_DACEx_TriangleWaveGenerate | ( | DAC_HandleTypeDef * | hdac, |
| uint32_t | Channel, | ||
| uint32_t | Amplitude | ||
| ) |
Enable or disable the selected DAC channel wave generation.
| 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:
|
| Amplitude | Select max triangle amplitude. This parameter can be one of the following values:
|
| HAL | status |
Definition at line 119 of file stm32l4xx_hal_dac_ex.c.