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_rtc_ex.c
3
  * @file    stm32f1xx_hal_rtc_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   Extended RTC HAL module driver.
7
  * @brief   Extended RTC 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 the Real Time Clock (RTC) Extension peripheral:
9
  *          functionalities of the Real Time Clock (RTC) Extension peripheral:
10
  *           + RTC Tamper functions
10
  *           + RTC Tamper functions
11
  *           + Extension Control functions
11
  *           + Extension Control functions
12
  *           + Extension RTC features functions    
12
  *           + Extension RTC features functions    
13
  *        
13
  *        
14
  ******************************************************************************
14
  ******************************************************************************
15
  * @attention
15
  * @attention
16
  *
16
  *
17
  * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
17
  * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
18
  *
18
  *
19
  * Redistribution and use in source and binary forms, with or without modification,
19
  * Redistribution and use in source and binary forms, with or without modification,
20
  * are permitted provided that the following conditions are met:
20
  * are permitted provided that the following conditions are met:
21
  *   1. Redistributions of source code must retain the above copyright notice,
21
  *   1. Redistributions of source code must retain the above copyright notice,
22
  *      this list of conditions and the following disclaimer.
22
  *      this list of conditions and the following disclaimer.
Line 256... Line 256...
256
  *                the configuration information for RTC.
256
  *                the configuration information for RTC.
257
  * @retval None
257
  * @retval None
258
  */
258
  */
259
__weak void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc)
259
__weak void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc)
260
{
260
{
-
 
261
  /* Prevent unused argument(s) compilation warning */
-
 
262
  UNUSED(hrtc);
261
  /* NOTE : This function Should not be modified, when the callback is needed,
263
  /* NOTE : This function Should not be modified, when the callback is needed,
262
            the HAL_RTCEx_Tamper1EventCallback could be implemented in the user file
264
            the HAL_RTCEx_Tamper1EventCallback could be implemented in the user file
263
   */
265
   */
264
}
266
}
265
 
267
 
Line 426... Line 428...
426
  *                the configuration information for RTC.
428
  *                the configuration information for RTC.
427
  * @retval None
429
  * @retval None
428
  */
430
  */
429
__weak void HAL_RTCEx_RTCEventCallback(RTC_HandleTypeDef *hrtc)
431
__weak void HAL_RTCEx_RTCEventCallback(RTC_HandleTypeDef *hrtc)
430
{
432
{
-
 
433
  /* Prevent unused argument(s) compilation warning */
-
 
434
  UNUSED(hrtc);
431
  /* NOTE : This function Should not be modified, when the callback is needed,
435
  /* NOTE : This function Should not be modified, when the callback is needed,
432
            the HAL_RTCEx_RTCEventCallback could be implemented in the user file
436
            the HAL_RTCEx_RTCEventCallback could be implemented in the user file
433
   */
437
   */
434
}
438
}
435
 
439
 
Line 439... Line 443...
439
  *                the configuration information for RTC.
443
  *                the configuration information for RTC.
440
  * @retval None
444
  * @retval None
441
  */
445
  */
442
__weak void HAL_RTCEx_RTCEventErrorCallback(RTC_HandleTypeDef *hrtc)
446
__weak void HAL_RTCEx_RTCEventErrorCallback(RTC_HandleTypeDef *hrtc)
443
{
447
{
-
 
448
  /* Prevent unused argument(s) compilation warning */
-
 
449
  UNUSED(hrtc);
444
  /* NOTE : This function Should not be modified, when the callback is needed,
450
  /* NOTE : This function Should not be modified, when the callback is needed,
445
            the HAL_RTCEx_RTCEventErrorCallback could be implemented in the user file
451
            the HAL_RTCEx_RTCEventErrorCallback could be implemented in the user file
446
   */
452
   */
447
}
453
}
448
 
454