STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_dac_ex.h File Reference

Header file of DAC HAL Extended module. More...

Go to the source code of this file.

Functions

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...
 
uint32_t HAL_DACEx_DualGetValue (DAC_HandleTypeDef *hdac)
 Return the last data output value of the selected 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...
 
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...
 
void DAC_DMAConvCpltCh2 (DMA_HandleTypeDef *hdma)
 DMA conversion complete callback. More...
 
void DAC_DMAErrorCh2 (DMA_HandleTypeDef *hdma)
 DMA error callback. More...
 
void DAC_DMAHalfConvCpltCh2 (DMA_HandleTypeDef *hdma)
 DMA half transfer complete callback. More...
 

Variables

 C
 

Detailed Description

Header file of DAC HAL Extended module.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_hal_dac_ex.h.

Variable Documentation

◆ C

C

Unmask DAC channel LFSR bit0 for noise wave generation Unmask DAC channel LFSR bit[1:0] for noise wave generation Unmask DAC channel LFSR bit[2:0] for noise wave generation Unmask DAC channel LFSR bit[3:0] for noise wave generation Unmask DAC channel LFSR bit[4:0] for noise wave generation Unmask DAC channel LFSR bit[5:0] for noise wave generation Unmask DAC channel LFSR bit[6:0] for noise wave generation Unmask DAC channel LFSR bit[7:0] for noise wave generation Unmask DAC channel LFSR bit[8:0] for noise wave generation Unmask DAC channel LFSR bit[9:0] for noise wave generation Unmask DAC channel LFSR bit[10:0] for noise wave generation Unmask DAC channel LFSR bit[11:0] for noise wave generation Select max triangle amplitude of 1 Select max triangle amplitude of 3 Select max triangle amplitude of 7 Select max triangle amplitude of 15 Select max triangle amplitude of 31 Select max triangle amplitude of 63 Select max triangle amplitude of 127 Select max triangle amplitude of 255 Select max triangle amplitude of 511 Select max triangle amplitude of 1023 Select max triangle amplitude of 2047 Select max triangle amplitude of 4095