HAL + 0/38 examples
CodeScope will show references to HAL_RTC_SetTime() from the following samples and libraries:
Examples
STM32446E_EVAL
Demonstrations
Examples
PWR
RTC
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
Examples
PWR
RTC
STM324xG_EVAL
Demonstrations
Examples
PWR
RTC
STM32F412G-Discovery
Demonstrations
Examples
RTC
STM32F413H-Discovery
Demonstrations
Examples
RTC
STM32F429I-Discovery
Demonstrations
STM32446E-Nucleo
Examples
RTC
STM324x9I_EVAL
Demonstrations
STemWin
Examples
PWR
RTC
STM32F410xx-Nucleo
Examples
RTC
STM32F411RE-Nucleo
Examples
RTC
STM32F412ZG-Nucleo
Examples
RTC
STM32F413ZH-Nucleo
Examples
RTC
STM32F429ZI-Nucleo
Applications
NetXDuo
Examples
RTC
STM32F446ZE-Nucleo
Examples
RTC
 
Symbols
loading...
Files
loading...

HAL_RTC_SetTime() function

Sets RTC current time.

Syntax

HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc,     RTC_TimeTypeDef *sTime,     uint32_t Format);
Implemented in stm32f4xx_hal_rtc.c:698

Arguments

hrtc

pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC.

sTime

Pointer to Time structure

Format

Specifies the format of the entered parameters. This parameter can be one of the following values: @arg RTC_FORMAT_BIN: Binary data format @arg RTC_FORMAT_BCD: BCD data format

Return value

HAL status

Notes

DayLightSaving and StoreOperation interfaces are deprecated. To manage Daylight Saving Time, please use HAL_RTC_DST_xxx functions.

Examples

HAL_RTC_SetTime() is referenced by 38 libraries and example projects.