Subversion Repositories DashDisplay

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 5
Line 1... Line 1...
1
/**
1
/**
2
  ******************************************************************************
2
  ******************************************************************************
3
  * @file    stm32f1xx_hal_dac_ex.c
3
  * @file    stm32f1xx_hal_dac_ex.c
4
  * @author  MCD Application Team
4
  * @author  MCD Application Team
5
  * @version V1.0.1
5
  * @version V1.0.4
6
  * @date    31-July-2015
6
  * @date    29-April-2016
7
  * @brief   DAC HAL module driver.
7
  * @brief   DAC HAL module driver.
8
  *         This file provides firmware functions to manage the following
8
  *         This file provides firmware functions to manage the following
9
  *         functionalities of DAC extension peripheral:
9
  *         functionalities of DAC extension peripheral:
10
  *           + Extended features functions
10
  *           + Extended features functions
11
  *    
11
  *    
Line 23... Line 23...
23
   
23
   
24
 @endverbatim    
24
 @endverbatim    
25
  ******************************************************************************
25
  ******************************************************************************
26
  * @attention
26
  * @attention
27
  *
27
  *
28
  * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
28
  * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
29
  *
29
  *
30
  * Redistribution and use in source and binary forms, with or without modification,
30
  * Redistribution and use in source and binary forms, with or without modification,
31
  * are permitted provided that the following conditions are met:
31
  * are permitted provided that the following conditions are met:
32
  *   1. Redistributions of source code must retain the above copyright notice,
32
  *   1. Redistributions of source code must retain the above copyright notice,
33
  *      this list of conditions and the following disclaimer.
33
  *      this list of conditions and the following disclaimer.
Line 262... Line 262...
262
  *         the configuration information for the specified DAC.
262
  *         the configuration information for the specified DAC.
263
  * @retval None
263
  * @retval None
264
  */
264
  */
265
__weak void HAL_DACEx_ConvCpltCallbackCh2(DAC_HandleTypeDef* hdac)
265
__weak void HAL_DACEx_ConvCpltCallbackCh2(DAC_HandleTypeDef* hdac)
266
{
266
{
-
 
267
  /* Prevent unused argument(s) compilation warning */
-
 
268
  UNUSED(hdac);
267
  /* NOTE : This function Should not be modified, when the callback is needed,
269
  /* NOTE : This function Should not be modified, when the callback is needed,
268
            the HAL_DACEx_ConvCpltCallbackCh2 could be implemented in the user file
270
            the HAL_DACEx_ConvCpltCallbackCh2 could be implemented in the user file
269
   */
271
   */
270
}
272
}
271
 
273
 
Line 275... Line 277...
275
  *         the configuration information for the specified DAC.
277
  *         the configuration information for the specified DAC.
276
  * @retval None
278
  * @retval None
277
  */
279
  */
278
__weak void HAL_DACEx_ConvHalfCpltCallbackCh2(DAC_HandleTypeDef* hdac)
280
__weak void HAL_DACEx_ConvHalfCpltCallbackCh2(DAC_HandleTypeDef* hdac)
279
{
281
{
-
 
282
  /* Prevent unused argument(s) compilation warning */
-
 
283
  UNUSED(hdac);
280
  /* NOTE : This function Should not be modified, when the callback is needed,
284
  /* NOTE : This function Should not be modified, when the callback is needed,
281
            the HAL_DACEx_ConvHalfCpltCallbackCh2 could be implemented in the user file
285
            the HAL_DACEx_ConvHalfCpltCallbackCh2 could be implemented in the user file
282
   */
286
   */
283
}
287
}
284
 
288
 
Line 288... Line 292...
288
  *         the configuration information for the specified DAC.
292
  *         the configuration information for the specified DAC.
289
  * @retval None
293
  * @retval None
290
  */
294
  */
291
__weak void HAL_DACEx_ErrorCallbackCh2(DAC_HandleTypeDef *hdac)
295
__weak void HAL_DACEx_ErrorCallbackCh2(DAC_HandleTypeDef *hdac)
292
{
296
{
-
 
297
  /* Prevent unused argument(s) compilation warning */
-
 
298
  UNUSED(hdac);
293
  /* NOTE : This function Should not be modified, when the callback is needed,
299
  /* NOTE : This function Should not be modified, when the callback is needed,
294
            the HAL_DACEx_ErrorCallbackCh2 could be implemented in the user file
300
            the HAL_DACEx_ErrorCallbackCh2 could be implemented in the user file
295
   */
301
   */
296
}
302
}
297
 
303
 
Line 305... Line 311...
305
  *         the configuration information for the specified DAC.
311
  *         the configuration information for the specified DAC.
306
  * @retval None
312
  * @retval None
307
  */
313
  */
308
__weak void HAL_DAC_DMAUnderrunCallbackCh1(DAC_HandleTypeDef *hdac)
314
__weak void HAL_DAC_DMAUnderrunCallbackCh1(DAC_HandleTypeDef *hdac)
309
{
315
{
-
 
316
  /* Prevent unused argument(s) compilation warning */
-
 
317
  UNUSED(hdac);
310
  /* NOTE : This function Should not be modified, when the callback is needed,
318
  /* NOTE : This function Should not be modified, when the callback is needed,
311
            the HAL_DAC_DMAUnderrunCallbackCh1 could be implemented in the user file
319
            the HAL_DAC_DMAUnderrunCallbackCh1 could be implemented in the user file
312
   */
320
   */
313
}
321
}
314
 
322
 
Line 321... Line 329...
321
  *         the configuration information for the specified DAC.
329
  *         the configuration information for the specified DAC.
322
  * @retval None
330
  * @retval None
323
  */
331
  */
324
__weak void HAL_DACEx_DMAUnderrunCallbackCh2(DAC_HandleTypeDef *hdac)
332
__weak void HAL_DACEx_DMAUnderrunCallbackCh2(DAC_HandleTypeDef *hdac)
325
{
333
{
-
 
334
  /* Prevent unused argument(s) compilation warning */
-
 
335
  UNUSED(hdac);
326
  /* NOTE : This function Should not be modified, when the callback is needed,
336
  /* NOTE : This function Should not be modified, when the callback is needed,
327
            the HAL_DACEx_DMAUnderrunCallbackCh2 could be implemented in the user file
337
            the HAL_DACEx_DMAUnderrunCallbackCh2 could be implemented in the user file
328
   */
338
   */
329
}
339
}
330
#endif /* STM32F100xB) || defined (STM32F100xE) */
340
#endif /* STM32F100xB) || defined (STM32F100xE) */