mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Fri Aug 14 13:15:17 2015 +0100
Revision:
610:813dcc80987e
Synchronized with git revision 6d84db41c6833e0b9b024741eb0616a5f62d5599

Full URL: https://github.com/mbedmicro/mbed/commit/6d84db41c6833e0b9b024741eb0616a5f62d5599/

DISCO_F746NG - Improvements

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 610:813dcc80987e 1 /**
mbed_official 610:813dcc80987e 2 ******************************************************************************
mbed_official 610:813dcc80987e 3 * @file stm32l4xx_hal_dac_ex.h
mbed_official 610:813dcc80987e 4 * @author MCD Application Team
mbed_official 610:813dcc80987e 5 * @version V1.0.0
mbed_official 610:813dcc80987e 6 * @date 26-June-2015
mbed_official 610:813dcc80987e 7 * @brief Header file of DAC HAL Extended module.
mbed_official 610:813dcc80987e 8 ******************************************************************************
mbed_official 610:813dcc80987e 9 * @attention
mbed_official 610:813dcc80987e 10 *
mbed_official 610:813dcc80987e 11 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
mbed_official 610:813dcc80987e 12 *
mbed_official 610:813dcc80987e 13 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 610:813dcc80987e 14 * are permitted provided that the following conditions are met:
mbed_official 610:813dcc80987e 15 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 610:813dcc80987e 16 * this list of conditions and the following disclaimer.
mbed_official 610:813dcc80987e 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 610:813dcc80987e 18 * this list of conditions and the following disclaimer in the documentation
mbed_official 610:813dcc80987e 19 * and/or other materials provided with the distribution.
mbed_official 610:813dcc80987e 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mbed_official 610:813dcc80987e 21 * may be used to endorse or promote products derived from this software
mbed_official 610:813dcc80987e 22 * without specific prior written permission.
mbed_official 610:813dcc80987e 23 *
mbed_official 610:813dcc80987e 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 610:813dcc80987e 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 610:813dcc80987e 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 610:813dcc80987e 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 610:813dcc80987e 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 610:813dcc80987e 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 610:813dcc80987e 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 610:813dcc80987e 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 610:813dcc80987e 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 610:813dcc80987e 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 610:813dcc80987e 34 *
mbed_official 610:813dcc80987e 35 ******************************************************************************
mbed_official 610:813dcc80987e 36 */
mbed_official 610:813dcc80987e 37
mbed_official 610:813dcc80987e 38 /* Define to prevent recursive inclusion -------------------------------------*/
mbed_official 610:813dcc80987e 39 #ifndef __STM32L4xx_HAL_DAC_EX_H
mbed_official 610:813dcc80987e 40 #define __STM32L4xx_HAL_DAC_EX_H
mbed_official 610:813dcc80987e 41
mbed_official 610:813dcc80987e 42 #ifdef __cplusplus
mbed_official 610:813dcc80987e 43 extern "C" {
mbed_official 610:813dcc80987e 44 #endif
mbed_official 610:813dcc80987e 45
mbed_official 610:813dcc80987e 46 /* Includes ------------------------------------------------------------------*/
mbed_official 610:813dcc80987e 47 #include "stm32l4xx_hal_def.h"
mbed_official 610:813dcc80987e 48
mbed_official 610:813dcc80987e 49 /** @addtogroup STM32L4xx_HAL_Driver
mbed_official 610:813dcc80987e 50 * @{
mbed_official 610:813dcc80987e 51 */
mbed_official 610:813dcc80987e 52
mbed_official 610:813dcc80987e 53 /** @addtogroup DACEx
mbed_official 610:813dcc80987e 54 * @{
mbed_official 610:813dcc80987e 55 */
mbed_official 610:813dcc80987e 56
mbed_official 610:813dcc80987e 57 /* Exported types ------------------------------------------------------------*/
mbed_official 610:813dcc80987e 58
mbed_official 610:813dcc80987e 59 /**
mbed_official 610:813dcc80987e 60 * @brief HAL State structures definition
mbed_official 610:813dcc80987e 61 */
mbed_official 610:813dcc80987e 62
mbed_official 610:813dcc80987e 63 /* Exported constants --------------------------------------------------------*/
mbed_official 610:813dcc80987e 64
mbed_official 610:813dcc80987e 65 /** @defgroup DACEx_Exported_Constants DACEx Exported Constants
mbed_official 610:813dcc80987e 66 * @{
mbed_official 610:813dcc80987e 67 */
mbed_official 610:813dcc80987e 68
mbed_official 610:813dcc80987e 69 /** @defgroup DACEx_lfsrunmask_triangleamplitude DACEx lfsrunmask triangleamplitude
mbed_official 610:813dcc80987e 70 * @{
mbed_official 610:813dcc80987e 71 */
mbed_official 610:813dcc80987e 72 #define DAC_LFSRUNMASK_BIT0 ((uint32_t)0x00000000) /*!< Unmask DAC channel LFSR bit0 for noise wave generation */
mbed_official 610:813dcc80987e 73 #define DAC_LFSRUNMASK_BITS1_0 ((uint32_t)DAC_CR_MAMP1_0) /*!< Unmask DAC channel LFSR bit[1:0] for noise wave generation */
mbed_official 610:813dcc80987e 74 #define DAC_LFSRUNMASK_BITS2_0 ((uint32_t)DAC_CR_MAMP1_1) /*!< Unmask DAC channel LFSR bit[2:0] for noise wave generation */
mbed_official 610:813dcc80987e 75 #define DAC_LFSRUNMASK_BITS3_0 ((uint32_t)DAC_CR_MAMP1_1 | DAC_CR_MAMP1_0)/*!< Unmask DAC channel LFSR bit[3:0] for noise wave generation */
mbed_official 610:813dcc80987e 76 #define DAC_LFSRUNMASK_BITS4_0 ((uint32_t)DAC_CR_MAMP1_2) /*!< Unmask DAC channel LFSR bit[4:0] for noise wave generation */
mbed_official 610:813dcc80987e 77 #define DAC_LFSRUNMASK_BITS5_0 ((uint32_t)DAC_CR_MAMP1_2 | DAC_CR_MAMP1_0) /*!< Unmask DAC channel LFSR bit[5:0] for noise wave generation */
mbed_official 610:813dcc80987e 78 #define DAC_LFSRUNMASK_BITS6_0 ((uint32_t)DAC_CR_MAMP1_2 | DAC_CR_MAMP1_1) /*!< Unmask DAC channel LFSR bit[6:0] for noise wave generation */
mbed_official 610:813dcc80987e 79 #define DAC_LFSRUNMASK_BITS7_0 ((uint32_t)DAC_CR_MAMP1_2 | DAC_CR_MAMP1_1 | DAC_CR_MAMP1_0) /*!< Unmask DAC channel LFSR bit[7:0] for noise wave generation */
mbed_official 610:813dcc80987e 80 #define DAC_LFSRUNMASK_BITS8_0 ((uint32_t)DAC_CR_MAMP1_3) /*!< Unmask DAC channel LFSR bit[8:0] for noise wave generation */
mbed_official 610:813dcc80987e 81 #define DAC_LFSRUNMASK_BITS9_0 ((uint32_t)DAC_CR_MAMP1_3 | DAC_CR_MAMP1_0) /*!< Unmask DAC channel LFSR bit[9:0] for noise wave generation */
mbed_official 610:813dcc80987e 82 #define DAC_LFSRUNMASK_BITS10_0 ((uint32_t)DAC_CR_MAMP1_3 | DAC_CR_MAMP1_1) /*!< Unmask DAC channel LFSR bit[10:0] for noise wave generation */
mbed_official 610:813dcc80987e 83 #define DAC_LFSRUNMASK_BITS11_0 ((uint32_t)DAC_CR_MAMP1_3 | DAC_CR_MAMP1_1 | DAC_CR_MAMP1_0) /*!< Unmask DAC channel LFSR bit[11:0] for noise wave generation */
mbed_official 610:813dcc80987e 84 #define DAC_TRIANGLEAMPLITUDE_1 ((uint32_t)0x00000000) /*!< Select max triangle amplitude of 1 */
mbed_official 610:813dcc80987e 85 #define DAC_TRIANGLEAMPLITUDE_3 ((uint32_t)DAC_CR_MAMP1_0) /*!< Select max triangle amplitude of 3 */
mbed_official 610:813dcc80987e 86 #define DAC_TRIANGLEAMPLITUDE_7 ((uint32_t)DAC_CR_MAMP1_1) /*!< Select max triangle amplitude of 7 */
mbed_official 610:813dcc80987e 87 #define DAC_TRIANGLEAMPLITUDE_15 ((uint32_t)DAC_CR_MAMP1_1 | DAC_CR_MAMP1_0) /*!< Select max triangle amplitude of 15 */
mbed_official 610:813dcc80987e 88 #define DAC_TRIANGLEAMPLITUDE_31 ((uint32_t)DAC_CR_MAMP1_2) /*!< Select max triangle amplitude of 31 */
mbed_official 610:813dcc80987e 89 #define DAC_TRIANGLEAMPLITUDE_63 ((uint32_t)DAC_CR_MAMP1_2 | DAC_CR_MAMP1_0) /*!< Select max triangle amplitude of 63 */
mbed_official 610:813dcc80987e 90 #define DAC_TRIANGLEAMPLITUDE_127 ((uint32_t)DAC_CR_MAMP1_2 | DAC_CR_MAMP1_1) /*!< Select max triangle amplitude of 127 */
mbed_official 610:813dcc80987e 91 #define DAC_TRIANGLEAMPLITUDE_255 ((uint32_t)DAC_CR_MAMP1_2 | DAC_CR_MAMP1_1 | DAC_CR_MAMP1_0) /*!< Select max triangle amplitude of 255 */
mbed_official 610:813dcc80987e 92 #define DAC_TRIANGLEAMPLITUDE_511 ((uint32_t)DAC_CR_MAMP1_3) /*!< Select max triangle amplitude of 511 */
mbed_official 610:813dcc80987e 93 #define DAC_TRIANGLEAMPLITUDE_1023 ((uint32_t)DAC_CR_MAMP1_3 | DAC_CR_MAMP1_0) /*!< Select max triangle amplitude of 1023 */
mbed_official 610:813dcc80987e 94 #define DAC_TRIANGLEAMPLITUDE_2047 ((uint32_t)DAC_CR_MAMP1_3 | DAC_CR_MAMP1_1) /*!< Select max triangle amplitude of 2047 */
mbed_official 610:813dcc80987e 95 #define DAC_TRIANGLEAMPLITUDE_4095 ((uint32_t)DAC_CR_MAMP1_3 | DAC_CR_MAMP1_1 | DAC_CR_MAMP1_0) /*!< Select max triangle amplitude of 4095 */
mbed_official 610:813dcc80987e 96
mbed_official 610:813dcc80987e 97 /**
mbed_official 610:813dcc80987e 98 * @}
mbed_official 610:813dcc80987e 99 */
mbed_official 610:813dcc80987e 100
mbed_official 610:813dcc80987e 101 /**
mbed_official 610:813dcc80987e 102 * @}
mbed_official 610:813dcc80987e 103 */
mbed_official 610:813dcc80987e 104
mbed_official 610:813dcc80987e 105 /* Exported macro ------------------------------------------------------------*/
mbed_official 610:813dcc80987e 106
mbed_official 610:813dcc80987e 107
mbed_official 610:813dcc80987e 108 /* Private macro -------------------------------------------------------------*/
mbed_official 610:813dcc80987e 109
mbed_official 610:813dcc80987e 110 /** @defgroup DACEx_Private_Macros DACEx Private Macros
mbed_official 610:813dcc80987e 111 * @{
mbed_official 610:813dcc80987e 112 */
mbed_official 610:813dcc80987e 113
mbed_official 610:813dcc80987e 114 #define IS_DAC_TRIGGER(TRIGGER) (((TRIGGER) == DAC_TRIGGER_NONE) || \
mbed_official 610:813dcc80987e 115 ((TRIGGER) == DAC_TRIGGER_T2_TRGO) || \
mbed_official 610:813dcc80987e 116 ((TRIGGER) == DAC_TRIGGER_T4_TRGO) || \
mbed_official 610:813dcc80987e 117 ((TRIGGER) == DAC_TRIGGER_T5_TRGO) || \
mbed_official 610:813dcc80987e 118 ((TRIGGER) == DAC_TRIGGER_T6_TRGO) || \
mbed_official 610:813dcc80987e 119 ((TRIGGER) == DAC_TRIGGER_T7_TRGO) || \
mbed_official 610:813dcc80987e 120 ((TRIGGER) == DAC_TRIGGER_T8_TRGO) || \
mbed_official 610:813dcc80987e 121 ((TRIGGER) == DAC_TRIGGER_EXT_IT9) || \
mbed_official 610:813dcc80987e 122 ((TRIGGER) == DAC_TRIGGER_SOFTWARE))
mbed_official 610:813dcc80987e 123
mbed_official 610:813dcc80987e 124 #define IS_DAC_SAMPLETIME(TIME) ((TIME) <= 0x0000003FF)
mbed_official 610:813dcc80987e 125
mbed_official 610:813dcc80987e 126 #define IS_DAC_HOLDTIME(TIME) ((TIME) <= 0x0000003FF)
mbed_official 610:813dcc80987e 127
mbed_official 610:813dcc80987e 128 #define IS_DAC_SAMPLEANDHOLD(MODE) (((MODE) == DAC_SAMPLEANDHOLD_DISABLE) || \
mbed_official 610:813dcc80987e 129 ((MODE) == DAC_SAMPLEANDHOLD_ENABLE))
mbed_official 610:813dcc80987e 130
mbed_official 610:813dcc80987e 131
mbed_official 610:813dcc80987e 132 #define IS_DAC_TRIMMINGVALUE(TRIMMINGVALUE) ((TRIMMINGVALUE) <= 0x1F)
mbed_official 610:813dcc80987e 133
mbed_official 610:813dcc80987e 134 #define IS_DAC_NEWTRIMMINGVALUE(TRIMMINGVALUE) ((TRIMMINGVALUE) <= 0x1F)
mbed_official 610:813dcc80987e 135
mbed_official 610:813dcc80987e 136 #define IS_DAC_CHIP_CONNECTION(CONNECT) (((CONNECT) == DAC_CHIPCONNECT_DISABLE) || \
mbed_official 610:813dcc80987e 137 ((CONNECT) == DAC_CHIPCONNECT_ENABLE))
mbed_official 610:813dcc80987e 138
mbed_official 610:813dcc80987e 139 #define IS_DAC_TRIMMING(TRIMMING) (((TRIMMING) == DAC_TRIMMING_FACTORY) || \
mbed_official 610:813dcc80987e 140 ((TRIMMING) == DAC_TRIMMING_USER))
mbed_official 610:813dcc80987e 141
mbed_official 610:813dcc80987e 142 #define IS_DAC_LFSR_UNMASK_TRIANGLE_AMPLITUDE(VALUE) (((VALUE) == DAC_LFSRUNMASK_BIT0) || \
mbed_official 610:813dcc80987e 143 ((VALUE) == DAC_LFSRUNMASK_BITS1_0) || \
mbed_official 610:813dcc80987e 144 ((VALUE) == DAC_LFSRUNMASK_BITS2_0) || \
mbed_official 610:813dcc80987e 145 ((VALUE) == DAC_LFSRUNMASK_BITS3_0) || \
mbed_official 610:813dcc80987e 146 ((VALUE) == DAC_LFSRUNMASK_BITS4_0) || \
mbed_official 610:813dcc80987e 147 ((VALUE) == DAC_LFSRUNMASK_BITS5_0) || \
mbed_official 610:813dcc80987e 148 ((VALUE) == DAC_LFSRUNMASK_BITS6_0) || \
mbed_official 610:813dcc80987e 149 ((VALUE) == DAC_LFSRUNMASK_BITS7_0) || \
mbed_official 610:813dcc80987e 150 ((VALUE) == DAC_LFSRUNMASK_BITS8_0) || \
mbed_official 610:813dcc80987e 151 ((VALUE) == DAC_LFSRUNMASK_BITS9_0) || \
mbed_official 610:813dcc80987e 152 ((VALUE) == DAC_LFSRUNMASK_BITS10_0) || \
mbed_official 610:813dcc80987e 153 ((VALUE) == DAC_LFSRUNMASK_BITS11_0) || \
mbed_official 610:813dcc80987e 154 ((VALUE) == DAC_TRIANGLEAMPLITUDE_1) || \
mbed_official 610:813dcc80987e 155 ((VALUE) == DAC_TRIANGLEAMPLITUDE_3) || \
mbed_official 610:813dcc80987e 156 ((VALUE) == DAC_TRIANGLEAMPLITUDE_7) || \
mbed_official 610:813dcc80987e 157 ((VALUE) == DAC_TRIANGLEAMPLITUDE_15) || \
mbed_official 610:813dcc80987e 158 ((VALUE) == DAC_TRIANGLEAMPLITUDE_31) || \
mbed_official 610:813dcc80987e 159 ((VALUE) == DAC_TRIANGLEAMPLITUDE_63) || \
mbed_official 610:813dcc80987e 160 ((VALUE) == DAC_TRIANGLEAMPLITUDE_127) || \
mbed_official 610:813dcc80987e 161 ((VALUE) == DAC_TRIANGLEAMPLITUDE_255) || \
mbed_official 610:813dcc80987e 162 ((VALUE) == DAC_TRIANGLEAMPLITUDE_511) || \
mbed_official 610:813dcc80987e 163 ((VALUE) == DAC_TRIANGLEAMPLITUDE_1023) || \
mbed_official 610:813dcc80987e 164 ((VALUE) == DAC_TRIANGLEAMPLITUDE_2047) || \
mbed_official 610:813dcc80987e 165 ((VALUE) == DAC_TRIANGLEAMPLITUDE_4095))
mbed_official 610:813dcc80987e 166
mbed_official 610:813dcc80987e 167
mbed_official 610:813dcc80987e 168
mbed_official 610:813dcc80987e 169 /**
mbed_official 610:813dcc80987e 170 * @}
mbed_official 610:813dcc80987e 171 */
mbed_official 610:813dcc80987e 172
mbed_official 610:813dcc80987e 173 /* Exported functions --------------------------------------------------------*/
mbed_official 610:813dcc80987e 174 /* Extended features functions ***********************************************/
mbed_official 610:813dcc80987e 175
mbed_official 610:813dcc80987e 176 /** @addtogroup DACEx_Exported_Functions
mbed_official 610:813dcc80987e 177 * @{
mbed_official 610:813dcc80987e 178 */
mbed_official 610:813dcc80987e 179
mbed_official 610:813dcc80987e 180 /** @addtogroup DACEx_Exported_Functions_Group2
mbed_official 610:813dcc80987e 181 * @{
mbed_official 610:813dcc80987e 182 */
mbed_official 610:813dcc80987e 183 /* IO operation functions *****************************************************/
mbed_official 610:813dcc80987e 184
mbed_official 610:813dcc80987e 185 HAL_StatusTypeDef HAL_DACEx_TriangleWaveGenerate(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t Amplitude);
mbed_official 610:813dcc80987e 186 HAL_StatusTypeDef HAL_DACEx_NoiseWaveGenerate(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t Amplitude);
mbed_official 610:813dcc80987e 187 HAL_StatusTypeDef HAL_DACEx_DualSetValue(DAC_HandleTypeDef* hdac, uint32_t Alignment, uint32_t Data1, uint32_t Data2);
mbed_official 610:813dcc80987e 188
mbed_official 610:813dcc80987e 189 void HAL_DACEx_ConvCpltCallbackCh2(DAC_HandleTypeDef* hdac);
mbed_official 610:813dcc80987e 190 void HAL_DACEx_ConvHalfCpltCallbackCh2(DAC_HandleTypeDef* hdac);
mbed_official 610:813dcc80987e 191 void HAL_DACEx_ErrorCallbackCh2(DAC_HandleTypeDef* hdac);
mbed_official 610:813dcc80987e 192 void HAL_DACEx_DMAUnderrunCallbackCh2(DAC_HandleTypeDef* hdac);
mbed_official 610:813dcc80987e 193
mbed_official 610:813dcc80987e 194 HAL_StatusTypeDef HAL_DACEx_SelfCalibrate (DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, uint32_t Channel);
mbed_official 610:813dcc80987e 195 HAL_StatusTypeDef HAL_DACEx_SetUserTrimming (DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, uint32_t Channel, uint32_t NewTrimmingValue);
mbed_official 610:813dcc80987e 196
mbed_official 610:813dcc80987e 197 /**
mbed_official 610:813dcc80987e 198 * @}
mbed_official 610:813dcc80987e 199 */
mbed_official 610:813dcc80987e 200
mbed_official 610:813dcc80987e 201 /** @addtogroup DACEx_Exported_Functions_Group3
mbed_official 610:813dcc80987e 202 * @{
mbed_official 610:813dcc80987e 203 */
mbed_official 610:813dcc80987e 204 /* Peripheral Control functions ***********************************************/
mbed_official 610:813dcc80987e 205
mbed_official 610:813dcc80987e 206 uint32_t HAL_DACEx_DualGetValue(DAC_HandleTypeDef* hdac);
mbed_official 610:813dcc80987e 207 uint32_t HAL_DACEx_GetTrimOffset (DAC_HandleTypeDef *hdac, uint32_t Channel);
mbed_official 610:813dcc80987e 208
mbed_official 610:813dcc80987e 209 /**
mbed_official 610:813dcc80987e 210 * @}
mbed_official 610:813dcc80987e 211 */
mbed_official 610:813dcc80987e 212
mbed_official 610:813dcc80987e 213 /**
mbed_official 610:813dcc80987e 214 * @}
mbed_official 610:813dcc80987e 215 */
mbed_official 610:813dcc80987e 216
mbed_official 610:813dcc80987e 217 /** @addtogroup DACEx_Private_Functions
mbed_official 610:813dcc80987e 218 * @{
mbed_official 610:813dcc80987e 219 */
mbed_official 610:813dcc80987e 220
mbed_official 610:813dcc80987e 221 /* DAC_DMAConvCpltCh2 / DAC_DMAErrorCh2 / DAC_DMAHalfConvCpltCh2 */
mbed_official 610:813dcc80987e 222 /* are called by HAL_DAC_Start_DMA */
mbed_official 610:813dcc80987e 223 void DAC_DMAConvCpltCh2(DMA_HandleTypeDef *hdma);
mbed_official 610:813dcc80987e 224 void DAC_DMAErrorCh2(DMA_HandleTypeDef *hdma);
mbed_official 610:813dcc80987e 225 void DAC_DMAHalfConvCpltCh2(DMA_HandleTypeDef *hdma);
mbed_official 610:813dcc80987e 226
mbed_official 610:813dcc80987e 227 /**
mbed_official 610:813dcc80987e 228 * @}
mbed_official 610:813dcc80987e 229 */
mbed_official 610:813dcc80987e 230
mbed_official 610:813dcc80987e 231 /**
mbed_official 610:813dcc80987e 232 * @}
mbed_official 610:813dcc80987e 233 */
mbed_official 610:813dcc80987e 234
mbed_official 610:813dcc80987e 235 /**
mbed_official 610:813dcc80987e 236 * @}
mbed_official 610:813dcc80987e 237 */
mbed_official 610:813dcc80987e 238
mbed_official 610:813dcc80987e 239 #ifdef __cplusplus
mbed_official 610:813dcc80987e 240 }
mbed_official 610:813dcc80987e 241 #endif
mbed_official 610:813dcc80987e 242
mbed_official 610:813dcc80987e 243 #endif /*__STM32L4xx_HAL_DAC_EX_H */
mbed_official 610:813dcc80987e 244
mbed_official 610:813dcc80987e 245 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/