STM32F479xx HAL User Manual
Functions
Peripheral State functions
RTC Exported Functions

Peripheral State functions. More...

Functions

HAL_RTCStateTypeDef HAL_RTC_GetState (RTC_HandleTypeDef *hrtc)
 Returns the RTC state.
void HAL_RTC_DST_Add1Hour (RTC_HandleTypeDef *hrtc)
 Daylight Saving Time, Add one hour to the calendar in one single operation without going through the initialization procedure.
void HAL_RTC_DST_Sub1Hour (RTC_HandleTypeDef *hrtc)
 Daylight Saving Time, Substract one hour from the calendar in one single operation without going through the initialization procedure.
void HAL_RTC_DST_SetStoreOperation (RTC_HandleTypeDef *hrtc)
 Daylight Saving Time, Set the store operation bit.
void HAL_RTC_DST_ClearStoreOperation (RTC_HandleTypeDef *hrtc)
 Daylight Saving Time, Clear the store operation bit.
uint32_t HAL_RTC_DST_ReadStoreOperation (RTC_HandleTypeDef *hrtc)
 Daylight Saving Time, Read the store operation bit.

Detailed Description

Peripheral State functions.

 ===============================================================================
                     ##### Peripheral State functions #####
 ===============================================================================
    [..]
    This subsection provides functions allowing to
      (+) Get RTC state


Function Documentation

Daylight Saving Time, Add one hour to the calendar in one single operation without going through the initialization procedure.

Parameters:
hrtcRTC handle
Return values:
None

Definition at line 1766 of file stm32f4xx_hal_rtc.c.

References __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, and __RTC_HandleTypeDef::Instance.

Daylight Saving Time, Clear the store operation bit.

Parameters:
hrtcRTC handle
Return values:
None

Definition at line 1804 of file stm32f4xx_hal_rtc.c.

References __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, and __RTC_HandleTypeDef::Instance.

Daylight Saving Time, Read the store operation bit.

Parameters:
hrtcRTC handle
Return values:
operationsee RTC_StoreOperation_Definitions

Definition at line 1816 of file stm32f4xx_hal_rtc.c.

References __RTC_HandleTypeDef::Instance.

Daylight Saving Time, Set the store operation bit.

Note:
It can be used by the software in order to memorize the DST status.
Parameters:
hrtcRTC handle
Return values:
None

Definition at line 1792 of file stm32f4xx_hal_rtc.c.

References __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, and __RTC_HandleTypeDef::Instance.

Daylight Saving Time, Substract one hour from the calendar in one single operation without going through the initialization procedure.

Parameters:
hrtcRTC handle
Return values:
None

Definition at line 1779 of file stm32f4xx_hal_rtc.c.

References __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, and __RTC_HandleTypeDef::Instance.

Returns the RTC state.

Parameters:
hrtcpointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC.
Return values:
HALstate

Definition at line 1755 of file stm32f4xx_hal_rtc.c.

References __RTC_HandleTypeDef::State.