STM32F4xx_HAL_Driver
1.8.3
|
Extended DAC HAL module driver. This file provides firmware functions to manage the extended functionalities of the DAC peripheral. More...
Go to the source code of this file.
Functions | |
HAL_StatusTypeDef | HAL_DACEx_DualStart (DAC_HandleTypeDef *hdac) |
Enables DAC and starts conversion of both channels. More... | |
HAL_StatusTypeDef | HAL_DACEx_DualStop (DAC_HandleTypeDef *hdac) |
Disables DAC and stop conversion of both channels. More... | |
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... | |
void | HAL_DACEx_ConvCpltCallbackCh2 (DAC_HandleTypeDef *hdac) |
Conversion complete callback in non-blocking mode for Channel2. More... | |
void | HAL_DACEx_ConvHalfCpltCallbackCh2 (DAC_HandleTypeDef *hdac) |
Conversion half DMA transfer callback in non-blocking mode for Channel2. More... | |
void | HAL_DACEx_ErrorCallbackCh2 (DAC_HandleTypeDef *hdac) |
Error DAC callback for Channel2. More... | |
void | HAL_DACEx_DMAUnderrunCallbackCh2 (DAC_HandleTypeDef *hdac) |
DMA underrun DAC callback for Channel2. More... | |
uint32_t | HAL_DACEx_DualGetValue (const DAC_HandleTypeDef *hdac) |
Return the last data output value of the selected DAC channel. More... | |
void | DAC_DMAConvCpltCh2 (DMA_HandleTypeDef *hdma) |
DMA conversion complete callback. More... | |
void | DAC_DMAHalfConvCpltCh2 (DMA_HandleTypeDef *hdma) |
DMA half transfer complete callback. More... | |
void | DAC_DMAErrorCh2 (DMA_HandleTypeDef *hdma) |
DMA error callback. More... | |
Extended DAC HAL module driver. This file provides firmware functions to manage the extended functionalities of the DAC peripheral.
Copyright (c) 2016 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
============================================================================== ##### How to use this driver ##### ============================================================================== [..] *** Signal generation operation *** =================================== [..] (+) Use HAL_DACEx_TriangleWaveGenerate() to generate Triangle signal. (+) Use HAL_DACEx_NoiseWaveGenerate() to generate Noise signal.
Definition in file stm32f4xx_hal_dac_ex.c.