mbed w/ spi bug fig

Dependents:   display-puck

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Thu May 22 20:00:09 2014 +0100
Revision:
205:c41fc65bcfb4
Child:
218:44081b78fdc2
Synchronized with git revision ea4b6f76efab17a3f7d7777b0cc1ef05fec6d1cb

Full URL: https://github.com/mbedmicro/mbed/commit/ea4b6f76efab17a3f7d7777b0cc1ef05fec6d1cb/

[NUCLEO_F072RB] cmsis files

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 205:c41fc65bcfb4 1 /**
mbed_official 205:c41fc65bcfb4 2 ******************************************************************************
mbed_official 205:c41fc65bcfb4 3 * @file stm32f0xx_hal_dac.h
mbed_official 205:c41fc65bcfb4 4 * @author MCD Application Team
mbed_official 205:c41fc65bcfb4 5 * @version V1.0.0
mbed_official 205:c41fc65bcfb4 6 * @date 20-May-2014
mbed_official 205:c41fc65bcfb4 7 * @brief Header file of DAC HAL module.
mbed_official 205:c41fc65bcfb4 8 ******************************************************************************
mbed_official 205:c41fc65bcfb4 9 * @attention
mbed_official 205:c41fc65bcfb4 10 *
mbed_official 205:c41fc65bcfb4 11 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
mbed_official 205:c41fc65bcfb4 12 *
mbed_official 205:c41fc65bcfb4 13 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 205:c41fc65bcfb4 14 * are permitted provided that the following conditions are met:
mbed_official 205:c41fc65bcfb4 15 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 205:c41fc65bcfb4 16 * this list of conditions and the following disclaimer.
mbed_official 205:c41fc65bcfb4 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 205:c41fc65bcfb4 18 * this list of conditions and the following disclaimer in the documentation
mbed_official 205:c41fc65bcfb4 19 * and/or other materials provided with the distribution.
mbed_official 205:c41fc65bcfb4 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mbed_official 205:c41fc65bcfb4 21 * may be used to endorse or promote products derived from this software
mbed_official 205:c41fc65bcfb4 22 * without specific prior written permission.
mbed_official 205:c41fc65bcfb4 23 *
mbed_official 205:c41fc65bcfb4 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 205:c41fc65bcfb4 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 205:c41fc65bcfb4 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 205:c41fc65bcfb4 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 205:c41fc65bcfb4 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 205:c41fc65bcfb4 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 205:c41fc65bcfb4 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 205:c41fc65bcfb4 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 205:c41fc65bcfb4 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 205:c41fc65bcfb4 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 205:c41fc65bcfb4 34 *
mbed_official 205:c41fc65bcfb4 35 ******************************************************************************
mbed_official 205:c41fc65bcfb4 36 */
mbed_official 205:c41fc65bcfb4 37
mbed_official 205:c41fc65bcfb4 38 /* Define to prevent recursive inclusion -------------------------------------*/
mbed_official 205:c41fc65bcfb4 39 #ifndef __STM32F0xx_HAL_DAC_H
mbed_official 205:c41fc65bcfb4 40 #define __STM32F0xx_HAL_DAC_H
mbed_official 205:c41fc65bcfb4 41
mbed_official 205:c41fc65bcfb4 42 #ifdef __cplusplus
mbed_official 205:c41fc65bcfb4 43 extern "C" {
mbed_official 205:c41fc65bcfb4 44 #endif
mbed_official 205:c41fc65bcfb4 45
mbed_official 205:c41fc65bcfb4 46 #if defined(STM32F051x8) || defined(STM32F058xx) || \
mbed_official 205:c41fc65bcfb4 47 defined(STM32F071xB) || defined(STM32F072xB) || defined(STM32F078xx)
mbed_official 205:c41fc65bcfb4 48
mbed_official 205:c41fc65bcfb4 49 /* Includes ------------------------------------------------------------------*/
mbed_official 205:c41fc65bcfb4 50 #include "stm32f0xx_hal_def.h"
mbed_official 205:c41fc65bcfb4 51
mbed_official 205:c41fc65bcfb4 52 /** @addtogroup STM32F0xx_HAL_Driver
mbed_official 205:c41fc65bcfb4 53 * @{
mbed_official 205:c41fc65bcfb4 54 */
mbed_official 205:c41fc65bcfb4 55
mbed_official 205:c41fc65bcfb4 56 /** @addtogroup DAC
mbed_official 205:c41fc65bcfb4 57 * @{
mbed_official 205:c41fc65bcfb4 58 */
mbed_official 205:c41fc65bcfb4 59
mbed_official 205:c41fc65bcfb4 60 /* Exported types ------------------------------------------------------------*/
mbed_official 205:c41fc65bcfb4 61
mbed_official 205:c41fc65bcfb4 62 /**
mbed_official 205:c41fc65bcfb4 63 * @brief HAL State structures definition
mbed_official 205:c41fc65bcfb4 64 */
mbed_official 205:c41fc65bcfb4 65 typedef enum
mbed_official 205:c41fc65bcfb4 66 {
mbed_official 205:c41fc65bcfb4 67 HAL_DAC_STATE_RESET = 0x00, /*!< DAC not yet initialized or disabled */
mbed_official 205:c41fc65bcfb4 68 HAL_DAC_STATE_READY = 0x01, /*!< DAC initialized and ready for use */
mbed_official 205:c41fc65bcfb4 69 HAL_DAC_STATE_BUSY = 0x02, /*!< DAC internal processing is ongoing */
mbed_official 205:c41fc65bcfb4 70 HAL_DAC_STATE_TIMEOUT = 0x03, /*!< DAC timeout state */
mbed_official 205:c41fc65bcfb4 71 HAL_DAC_STATE_ERROR = 0x04 /*!< DAC error state */
mbed_official 205:c41fc65bcfb4 72
mbed_official 205:c41fc65bcfb4 73 }HAL_DAC_StateTypeDef;
mbed_official 205:c41fc65bcfb4 74
mbed_official 205:c41fc65bcfb4 75 /**
mbed_official 205:c41fc65bcfb4 76 * @brief DAC handle Structure definition
mbed_official 205:c41fc65bcfb4 77 */
mbed_official 205:c41fc65bcfb4 78 typedef struct
mbed_official 205:c41fc65bcfb4 79 {
mbed_official 205:c41fc65bcfb4 80 DAC_TypeDef *Instance; /*!< Register base address */
mbed_official 205:c41fc65bcfb4 81
mbed_official 205:c41fc65bcfb4 82 __IO HAL_DAC_StateTypeDef State; /*!< DAC communication state */
mbed_official 205:c41fc65bcfb4 83
mbed_official 205:c41fc65bcfb4 84 HAL_LockTypeDef Lock; /*!< DAC locking object */
mbed_official 205:c41fc65bcfb4 85
mbed_official 205:c41fc65bcfb4 86 DMA_HandleTypeDef *DMA_Handle1; /*!< Pointer DMA handler for channel 1 */
mbed_official 205:c41fc65bcfb4 87
mbed_official 205:c41fc65bcfb4 88 DMA_HandleTypeDef *DMA_Handle2; /*!< Pointer DMA handler for channel 2 */
mbed_official 205:c41fc65bcfb4 89
mbed_official 205:c41fc65bcfb4 90 __IO uint32_t ErrorCode; /*!< DAC Error code */
mbed_official 205:c41fc65bcfb4 91
mbed_official 205:c41fc65bcfb4 92 }DAC_HandleTypeDef;
mbed_official 205:c41fc65bcfb4 93
mbed_official 205:c41fc65bcfb4 94 /**
mbed_official 205:c41fc65bcfb4 95 * @brief DAC Configuration regular Channel structure definition
mbed_official 205:c41fc65bcfb4 96 */
mbed_official 205:c41fc65bcfb4 97 typedef struct
mbed_official 205:c41fc65bcfb4 98 {
mbed_official 205:c41fc65bcfb4 99 uint32_t DAC_Trigger; /*!< Specifies the external trigger for the selected DAC channel.
mbed_official 205:c41fc65bcfb4 100 This parameter can be a value of @ref DAC_trigger_selection */
mbed_official 205:c41fc65bcfb4 101
mbed_official 205:c41fc65bcfb4 102 uint32_t DAC_OutputBuffer; /*!< Specifies whether the DAC channel output buffer is enabled or disabled.
mbed_official 205:c41fc65bcfb4 103 This parameter can be a value of @ref DAC_output_buffer */
mbed_official 205:c41fc65bcfb4 104
mbed_official 205:c41fc65bcfb4 105 }DAC_ChannelConfTypeDef;
mbed_official 205:c41fc65bcfb4 106
mbed_official 205:c41fc65bcfb4 107 /* Exported constants --------------------------------------------------------*/
mbed_official 205:c41fc65bcfb4 108
mbed_official 205:c41fc65bcfb4 109 /** @defgroup DAC_Error_Code
mbed_official 205:c41fc65bcfb4 110 * @{
mbed_official 205:c41fc65bcfb4 111 */
mbed_official 205:c41fc65bcfb4 112 #define HAL_DAC_ERROR_NONE 0x00 /*!< No error */
mbed_official 205:c41fc65bcfb4 113 #define HAL_DAC_ERROR_DMAUNDERRUNCH1 0x01 /*!< DAC channel1 DAM underrun error */
mbed_official 205:c41fc65bcfb4 114 #define HAL_DAC_ERROR_DMAUNDERRUNCH2 0x02 /*!< DAC channel2 DAM underrun error */
mbed_official 205:c41fc65bcfb4 115 #define HAL_DAC_ERROR_DMA 0x04 /*!< DMA error */
mbed_official 205:c41fc65bcfb4 116 /**
mbed_official 205:c41fc65bcfb4 117 * @}
mbed_official 205:c41fc65bcfb4 118 */
mbed_official 205:c41fc65bcfb4 119
mbed_official 205:c41fc65bcfb4 120 /** @defgroup DAC_output_buffer
mbed_official 205:c41fc65bcfb4 121 * @{
mbed_official 205:c41fc65bcfb4 122 */
mbed_official 205:c41fc65bcfb4 123 #define DAC_OUTPUTBUFFER_ENABLE ((uint32_t)0x00000000)
mbed_official 205:c41fc65bcfb4 124 #define DAC_OUTPUTBUFFER_DISABLE ((uint32_t)DAC_CR_BOFF1)
mbed_official 205:c41fc65bcfb4 125
mbed_official 205:c41fc65bcfb4 126 #define IS_DAC_OUTPUT_BUFFER_STATE(STATE) (((STATE) == DAC_OUTPUTBUFFER_ENABLE) || \
mbed_official 205:c41fc65bcfb4 127 ((STATE) == DAC_OUTPUTBUFFER_DISABLE))
mbed_official 205:c41fc65bcfb4 128 /**
mbed_official 205:c41fc65bcfb4 129 * @}
mbed_official 205:c41fc65bcfb4 130 */
mbed_official 205:c41fc65bcfb4 131
mbed_official 205:c41fc65bcfb4 132 /** @defgroup DAC_data_alignement
mbed_official 205:c41fc65bcfb4 133 * @{
mbed_official 205:c41fc65bcfb4 134 */
mbed_official 205:c41fc65bcfb4 135 #define DAC_ALIGN_12B_R ((uint32_t)0x00000000)
mbed_official 205:c41fc65bcfb4 136 #define DAC_ALIGN_12B_L ((uint32_t)0x00000004)
mbed_official 205:c41fc65bcfb4 137 #define DAC_ALIGN_8B_R ((uint32_t)0x00000008)
mbed_official 205:c41fc65bcfb4 138
mbed_official 205:c41fc65bcfb4 139 #define IS_DAC_ALIGN(ALIGN) (((ALIGN) == DAC_ALIGN_12B_R) || \
mbed_official 205:c41fc65bcfb4 140 ((ALIGN) == DAC_ALIGN_12B_L) || \
mbed_official 205:c41fc65bcfb4 141 ((ALIGN) == DAC_ALIGN_8B_R))
mbed_official 205:c41fc65bcfb4 142 /**
mbed_official 205:c41fc65bcfb4 143 * @}
mbed_official 205:c41fc65bcfb4 144 */
mbed_official 205:c41fc65bcfb4 145
mbed_official 205:c41fc65bcfb4 146 /** @defgroup DAC_data
mbed_official 205:c41fc65bcfb4 147 * @{
mbed_official 205:c41fc65bcfb4 148 */
mbed_official 205:c41fc65bcfb4 149 #define IS_DAC_DATA(DATA) ((DATA) <= 0xFFF0)
mbed_official 205:c41fc65bcfb4 150 /**
mbed_official 205:c41fc65bcfb4 151 * @}
mbed_official 205:c41fc65bcfb4 152 */
mbed_official 205:c41fc65bcfb4 153
mbed_official 205:c41fc65bcfb4 154 /** @defgroup DAC_flags_definition
mbed_official 205:c41fc65bcfb4 155 * @{
mbed_official 205:c41fc65bcfb4 156 */
mbed_official 205:c41fc65bcfb4 157 #define DAC_FLAG_DMAUDR1 ((uint32_t)DAC_SR_DMAUDR1)
mbed_official 205:c41fc65bcfb4 158 #define DAC_FLAG_DMAUDR2 ((uint32_t)DAC_SR_DMAUDR2)
mbed_official 205:c41fc65bcfb4 159
mbed_official 205:c41fc65bcfb4 160 #define IS_DAC_FLAG(FLAG) (((FLAG) == DAC_FLAG_DMAUDR1) || \
mbed_official 205:c41fc65bcfb4 161 ((FLAG) == DAC_FLAG_DMAUDR2))
mbed_official 205:c41fc65bcfb4 162 /**
mbed_official 205:c41fc65bcfb4 163 * @}
mbed_official 205:c41fc65bcfb4 164 */
mbed_official 205:c41fc65bcfb4 165
mbed_official 205:c41fc65bcfb4 166 /** @defgroup DAC_IT_definition
mbed_official 205:c41fc65bcfb4 167 * @{
mbed_official 205:c41fc65bcfb4 168 */
mbed_official 205:c41fc65bcfb4 169 #define DAC_IT_DMAUDR1 ((uint32_t)DAC_SR_DMAUDR1)
mbed_official 205:c41fc65bcfb4 170 #define DAC_IT_DMAUDR2 ((uint32_t)DAC_SR_DMAUDR2)
mbed_official 205:c41fc65bcfb4 171
mbed_official 205:c41fc65bcfb4 172 #define IS_DAC_IT(IT) (((IT) == DAC_IT_DMAUDR1) || \
mbed_official 205:c41fc65bcfb4 173 ((IT) == DAC_IT_DMAUDR2))
mbed_official 205:c41fc65bcfb4 174
mbed_official 205:c41fc65bcfb4 175 /**
mbed_official 205:c41fc65bcfb4 176 * @}
mbed_official 205:c41fc65bcfb4 177 */
mbed_official 205:c41fc65bcfb4 178
mbed_official 205:c41fc65bcfb4 179 /* Exported macros -----------------------------------------------------------*/
mbed_official 205:c41fc65bcfb4 180
mbed_official 205:c41fc65bcfb4 181 /** @brief Reset DAC handle state
mbed_official 205:c41fc65bcfb4 182 * @param __HANDLE__: DAC handle.
mbed_official 205:c41fc65bcfb4 183 * @retval None
mbed_official 205:c41fc65bcfb4 184 */
mbed_official 205:c41fc65bcfb4 185 #define __HAL_DAC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_DAC_STATE_RESET)
mbed_official 205:c41fc65bcfb4 186
mbed_official 205:c41fc65bcfb4 187 /* Enable the DAC peripheral */
mbed_official 205:c41fc65bcfb4 188 #define __HAL_DAC_ENABLE(__HANDLE__, __DAC_Channel__) \
mbed_official 205:c41fc65bcfb4 189 ((__HANDLE__)->Instance->CR |= (DAC_CR_EN1 << (__DAC_Channel__)))
mbed_official 205:c41fc65bcfb4 190
mbed_official 205:c41fc65bcfb4 191 /* Disable the DAC peripheral */
mbed_official 205:c41fc65bcfb4 192 #define __HAL_DAC_DISABLE(__HANDLE__, __DAC_Channel__) \
mbed_official 205:c41fc65bcfb4 193 ((__HANDLE__)->Instance->CR &= ~(DAC_CR_EN1 << (__DAC_Channel__)))
mbed_official 205:c41fc65bcfb4 194
mbed_official 205:c41fc65bcfb4 195 /* Set DHR12R1 alignment */
mbed_official 205:c41fc65bcfb4 196 #define __HAL_DHR12R1_ALIGNEMENT(__ALIGNEMENT__) (((uint32_t)0x00000008) + (__ALIGNEMENT__))
mbed_official 205:c41fc65bcfb4 197
mbed_official 205:c41fc65bcfb4 198 /* Set DHR12R2 alignment */
mbed_official 205:c41fc65bcfb4 199 #define __HAL_DHR12R2_ALIGNEMENT(__ALIGNEMENT__) (((uint32_t)0x00000014) + (__ALIGNEMENT__))
mbed_official 205:c41fc65bcfb4 200
mbed_official 205:c41fc65bcfb4 201 /* Set DHR12RD alignment */
mbed_official 205:c41fc65bcfb4 202 #define __HAL_DHR12RD_ALIGNEMENT(__ALIGNEMENT__) (((uint32_t)0x00000020) + (__ALIGNEMENT__))
mbed_official 205:c41fc65bcfb4 203
mbed_official 205:c41fc65bcfb4 204 /* Enable the DAC interrupt */
mbed_official 205:c41fc65bcfb4 205 #define __HAL_DAC_ENABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR) |= (__INTERRUPT__))
mbed_official 205:c41fc65bcfb4 206
mbed_official 205:c41fc65bcfb4 207 /* Disable the DAC interrupt */
mbed_official 205:c41fc65bcfb4 208 #define __HAL_DAC_DISABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR) &= ~(__INTERRUPT__))
mbed_official 205:c41fc65bcfb4 209
mbed_official 205:c41fc65bcfb4 210 /* Get the selected DAC's flag status */
mbed_official 205:c41fc65bcfb4 211 #define __HAL_DAC_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__))
mbed_official 205:c41fc65bcfb4 212
mbed_official 205:c41fc65bcfb4 213 /* Clear the DAC's flag */
mbed_official 205:c41fc65bcfb4 214 #define __HAL_DAC_CLEAR_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR) |= (__FLAG__))
mbed_official 205:c41fc65bcfb4 215
mbed_official 205:c41fc65bcfb4 216 /* Include DAC HAL Extension module */
mbed_official 205:c41fc65bcfb4 217 #include "stm32f0xx_hal_dac_ex.h"
mbed_official 205:c41fc65bcfb4 218
mbed_official 205:c41fc65bcfb4 219 /* Exported functions --------------------------------------------------------*/
mbed_official 205:c41fc65bcfb4 220 /* Initialization and de-initialization functions *****************************/
mbed_official 205:c41fc65bcfb4 221 HAL_StatusTypeDef HAL_DAC_Init(DAC_HandleTypeDef* hdac);
mbed_official 205:c41fc65bcfb4 222 HAL_StatusTypeDef HAL_DAC_DeInit(DAC_HandleTypeDef* hdac);
mbed_official 205:c41fc65bcfb4 223 void HAL_DAC_MspInit(DAC_HandleTypeDef* hdac);
mbed_official 205:c41fc65bcfb4 224 void HAL_DAC_MspDeInit(DAC_HandleTypeDef* hdac);
mbed_official 205:c41fc65bcfb4 225
mbed_official 205:c41fc65bcfb4 226 /* IO operation functions *****************************************************/
mbed_official 205:c41fc65bcfb4 227 HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef* hdac, uint32_t Channel);
mbed_official 205:c41fc65bcfb4 228 HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef* hdac, uint32_t Channel);
mbed_official 205:c41fc65bcfb4 229 HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t* pData, uint32_t Length, uint32_t Alignment);
mbed_official 205:c41fc65bcfb4 230 HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel);
mbed_official 205:c41fc65bcfb4 231
mbed_official 205:c41fc65bcfb4 232 /* Peripheral Control functions ***********************************************/
mbed_official 205:c41fc65bcfb4 233 HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, uint32_t Channel);
mbed_official 205:c41fc65bcfb4 234 HAL_StatusTypeDef HAL_DAC_SetValue(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t Alignment, uint32_t Data);
mbed_official 205:c41fc65bcfb4 235 uint32_t HAL_DAC_GetValue(DAC_HandleTypeDef* hdac, uint32_t Channel);
mbed_official 205:c41fc65bcfb4 236
mbed_official 205:c41fc65bcfb4 237 /* Peripheral State and Error functions ***************************************/
mbed_official 205:c41fc65bcfb4 238 HAL_DAC_StateTypeDef HAL_DAC_GetState(DAC_HandleTypeDef* hdac);
mbed_official 205:c41fc65bcfb4 239 void HAL_DAC_IRQHandler(DAC_HandleTypeDef* hdac);
mbed_official 205:c41fc65bcfb4 240 uint32_t HAL_DAC_GetError(DAC_HandleTypeDef *hdac);
mbed_official 205:c41fc65bcfb4 241
mbed_official 205:c41fc65bcfb4 242 void HAL_DAC_ConvCpltCallbackCh1(DAC_HandleTypeDef* hdac);
mbed_official 205:c41fc65bcfb4 243 void HAL_DAC_ConvHalfCpltCallbackCh1(DAC_HandleTypeDef* hdac);
mbed_official 205:c41fc65bcfb4 244 void HAL_DAC_ErrorCallbackCh1(DAC_HandleTypeDef *hdac);
mbed_official 205:c41fc65bcfb4 245 void HAL_DAC_DMAUnderrunCallbackCh1(DAC_HandleTypeDef *hdac);
mbed_official 205:c41fc65bcfb4 246
mbed_official 205:c41fc65bcfb4 247 #endif /* */
mbed_official 205:c41fc65bcfb4 248
mbed_official 205:c41fc65bcfb4 249 /**
mbed_official 205:c41fc65bcfb4 250 * @}
mbed_official 205:c41fc65bcfb4 251 */
mbed_official 205:c41fc65bcfb4 252
mbed_official 205:c41fc65bcfb4 253 /**
mbed_official 205:c41fc65bcfb4 254 * @}
mbed_official 205:c41fc65bcfb4 255 */
mbed_official 205:c41fc65bcfb4 256
mbed_official 205:c41fc65bcfb4 257 #ifdef __cplusplus
mbed_official 205:c41fc65bcfb4 258 }
mbed_official 205:c41fc65bcfb4 259 #endif /* STM32F051x8 || STM32F058xx || */
mbed_official 205:c41fc65bcfb4 260 /* STM32F071xB || STM32F072xB || STM32F078xx */
mbed_official 205:c41fc65bcfb4 261
mbed_official 205:c41fc65bcfb4 262
mbed_official 205:c41fc65bcfb4 263 #endif /*__STM32F0xx_HAL_DAC_H */
mbed_official 205:c41fc65bcfb4 264
mbed_official 205:c41fc65bcfb4 265 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/