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.c
3
  * @file    stm32f1xx_hal_rtc.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   RTC HAL module driver.
7
  * @brief   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) peripheral:
9
  *          functionalities of the Real Time Clock (RTC) peripheral:
10
  *           + Initialization and de-initialization functions
10
  *           + Initialization and de-initialization functions
11
  *           + RTC Time and Date functions
11
  *           + RTC Time and Date functions
Line 122... Line 122...
122
     
122
     
123
   @endverbatim
123
   @endverbatim
124
  ******************************************************************************
124
  ******************************************************************************
125
  * @attention
125
  * @attention
126
  *
126
  *
127
  * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
127
  * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
128
  *
128
  *
129
  * Redistribution and use in source and binary forms, with or without modification,
129
  * Redistribution and use in source and binary forms, with or without modification,
130
  * are permitted provided that the following conditions are met:
130
  * are permitted provided that the following conditions are met:
131
  *   1. Redistributions of source code must retain the above copyright notice,
131
  *   1. Redistributions of source code must retain the above copyright notice,
132
  *      this list of conditions and the following disclaimer.
132
  *      this list of conditions and the following disclaimer.
Line 424... Line 424...
424
  *                the configuration information for RTC.  
424
  *                the configuration information for RTC.  
425
  * @retval None
425
  * @retval None
426
  */
426
  */
427
__weak void HAL_RTC_MspInit(RTC_HandleTypeDef* hrtc)
427
__weak void HAL_RTC_MspInit(RTC_HandleTypeDef* hrtc)
428
{
428
{
-
 
429
  /* Prevent unused argument(s) compilation warning */
-
 
430
  UNUSED(hrtc);
429
  /* NOTE : This function Should not be modified, when the callback is needed,
431
  /* NOTE : This function Should not be modified, when the callback is needed,
430
            the HAL_RTC_MspInit could be implemented in the user file
432
            the HAL_RTC_MspInit could be implemented in the user file
431
   */
433
   */
432
}
434
}
433
 
435
 
Line 437... Line 439...
437
  *                the configuration information for RTC.
439
  *                the configuration information for RTC.
438
  * @retval None
440
  * @retval None
439
  */
441
  */
440
__weak void HAL_RTC_MspDeInit(RTC_HandleTypeDef* hrtc)
442
__weak void HAL_RTC_MspDeInit(RTC_HandleTypeDef* hrtc)
441
{
443
{
-
 
444
  /* Prevent unused argument(s) compilation warning */
-
 
445
  UNUSED(hrtc);
442
  /* NOTE : This function Should not be modified, when the callback is needed,
446
  /* NOTE : This function Should not be modified, when the callback is needed,
443
            the HAL_RTC_MspDeInit could be implemented in the user file
447
            the HAL_RTC_MspDeInit could be implemented in the user file
444
   */
448
   */
445
}
449
}
446
 
450
 
Line 1196... Line 1200...
1196
  *                the configuration information for RTC.
1200
  *                the configuration information for RTC.
1197
  * @retval None
1201
  * @retval None
1198
  */
1202
  */
1199
__weak void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc)
1203
__weak void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc)
1200
{
1204
{
-
 
1205
  /* Prevent unused argument(s) compilation warning */
-
 
1206
  UNUSED(hrtc);
1201
  /* NOTE : This function Should not be modified, when the callback is needed,
1207
  /* NOTE : This function Should not be modified, when the callback is needed,
1202
            the HAL_RTC_AlarmAEventCallback could be implemented in the user file
1208
            the HAL_RTC_AlarmAEventCallback could be implemented in the user file
1203
   */
1209
   */
1204
}
1210
}
1205
 
1211