Functions

TimeStamp configuration functions. More...

Collaboration diagram for TimeStamp configuration functions:

Functions

void RTC_GetTimeStamp (uint32_t RTC_Format, RTC_TimeTypeDef *RTC_StampTimeStruct, RTC_DateTypeDef *RTC_StampDateStruct)
 Get the RTC TimeStamp value and masks. More...
 
uint32_t RTC_GetTimeStampSubSecond (void)
 Get the RTC timestamp Sub seconds value. More...
 
void RTC_TimeStampCmd (uint32_t RTC_TimeStampEdge, FunctionalState NewState)
 Enables or Disables the RTC TimeStamp functionality with the specified time stamp pin stimulating edge. More...
 

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 
)

Get the RTC TimeStamp value and masks.

Gets the RTC TimeStamp value and masks.

Parameters
RTC_Formatspecifies 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_StampTimeStructpointer to a RTC_TimeTypeDef structure that will contains the TimeStamp time values.
RTC_StampDateStructpointer to a RTC_DateTypeDef structure that will contains the TimeStamp date values.
Return values
None

Definition at line 2026 of file stm32f4xx_rtc.c.

uint32_t RTC_GetTimeStampSubSecond ( void  )

Get the RTC timestamp Sub seconds value.

Gets the RTC timestamp Subseconds value.

Parameters
None
Return values
RTCcurrent timestamp Sub seconds value.
Parameters
None
Return values
RTCcurrent timestamp Subseconds value.

Definition at line 2070 of file stm32f4xx_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_TimeStampEdgeSpecifies 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.
NewStatenew state of the TimeStamp. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 1982 of file stm32f4xx_rtc.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:55