Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
TimeStamp configuration functions
[RTC_Private_Functions]
  TimeStamp configuration functions. More...
| Functions | |
| void | RTC_TimeStampCmd (uint32_t RTC_TimeStampEdge, FunctionalState NewState) | 
| Enables or Disables the RTC TimeStamp functionality with the specified time stamp pin stimulating edge. | |
| void | RTC_GetTimeStamp (uint32_t RTC_Format, RTC_TimeTypeDef *RTC_StampTimeStruct, RTC_DateTypeDef *RTC_StampDateStruct) | 
| Gets the RTC TimeStamp value and masks. | |
| uint32_t | RTC_GetTimeStampSubSecond (void) | 
| Gets the RTC timestamp Subseconds value. | |
Detailed Description
TimeStamp configuration functions.
 ===============================================================================
                ##### TimeStamp configuration functions #####
 ===============================================================================  
Function Documentation
| void RTC_GetTimeStamp | ( | uint32_t | RTC_Format, | 
| RTC_TimeTypeDef * | RTC_StampTimeStruct, | ||
| RTC_DateTypeDef * | RTC_StampDateStruct | ||
| ) | 
Gets the RTC TimeStamp value and masks.
- Parameters:
- 
  RTC_Format,: specifies the format of the output parameters. This parameter can be one of the following values: - RTC_Format_BIN: Binary data format
- RTC_Format_BCD: BCD data format
 RTC_StampTimeStruct,: pointer to a RTC_TimeTypeDef structure that will contains the TimeStamp time values. RTC_StampDateStruct,: pointer to a RTC_DateTypeDef structure that will contains the TimeStamp date values. 
- Return values:
- 
  None 
Definition at line 1887 of file stm32f30x_rtc.c.
| uint32_t RTC_GetTimeStampSubSecond | ( | void | ) | 
Gets the RTC timestamp Subseconds value.
- Parameters:
- 
  None 
- Return values:
- 
  RTC current timestamp Subseconds value. 
Definition at line 1931 of file stm32f30x_rtc.c.
| void RTC_TimeStampCmd | ( | uint32_t | RTC_TimeStampEdge, | 
| FunctionalState | NewState | ||
| ) | 
Enables or Disables the RTC TimeStamp functionality with the specified time stamp pin stimulating edge.
- Parameters:
- 
  RTC_TimeStampEdge,: Specifies the pin edge on which the TimeStamp is activated. This parameter can be one of the following: - RTC_TimeStampEdge_Rising: the Time stamp event occurs on the rising edge of the related pin.
- RTC_TimeStampEdge_Falling: the Time stamp event occurs on the falling edge of the related pin.
 NewState,: new state of the TimeStamp. This parameter can be: ENABLE or DISABLE. 
- Return values:
- 
  None 
Definition at line 1843 of file stm32f30x_rtc.c.
Generated on Tue Jul 12 2022 17:34:46 by
 1.7.2
 1.7.2