STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
RTC_TimeTypeDef Struct Reference

RTC Time structure definition. More...

#include <stm32h7xx_hal_rtc.h>

Public Attributes

uint8_t Hours
 Specifies the RTC Time Hour.
uint8_t Minutes
 Specifies the RTC Time Minutes.
uint8_t Seconds
 Specifies the RTC Time Seconds.
uint8_t TimeFormat
 Specifies the RTC AM/PM Time.
uint32_t SubSeconds
 Specifies the RTC_SSR RTC Sub Second register content.
uint32_t SecondFraction
 Specifies the range or granularity of Sub Second register content corresponding to Synchronous pre-scaler factor value (PREDIV_S) This parameter corresponds to a time unit range between [0-1] Second with [1 Sec / SecondFraction +1] granularity.
uint32_t DayLightSaving
 Specifies RTC_DayLightSaveOperation: the value of hour adjustment.
uint32_t StoreOperation
 Specifies RTC_StoreOperation value to be written in the BKP bit in CR register to store the operation.

Detailed Description

RTC Time structure definition.

Definition at line 90 of file stm32h7xx_hal_rtc.h.

Member Data Documentation

◆ DayLightSaving

uint32_t RTC_TimeTypeDef::DayLightSaving

Specifies RTC_DayLightSaveOperation: the value of hour adjustment.

This parameter can be a value of RTC DayLight Saving Definitions

Definition at line 115 of file stm32h7xx_hal_rtc.h.

Referenced by MX_RTC_Init().

◆ Hours

uint8_t RTC_TimeTypeDef::Hours

Specifies the RTC Time Hour.

This parameter must be a number between Min_Data = 0 and Max_Data = 12 if the RTC_HourFormat_12 is selected. This parameter must be a number between Min_Data = 0 and Max_Data = 23 if the RTC_HourFormat_24 is selected

Definition at line 92 of file stm32h7xx_hal_rtc.h.

Referenced by MX_RTC_Init().

◆ Minutes

uint8_t RTC_TimeTypeDef::Minutes

Specifies the RTC Time Minutes.

This parameter must be a number between Min_Data = 0 and Max_Data = 59

Definition at line 96 of file stm32h7xx_hal_rtc.h.

Referenced by MX_RTC_Init().

◆ SecondFraction

uint32_t RTC_TimeTypeDef::SecondFraction

Specifies the range or granularity of Sub Second register content corresponding to Synchronous pre-scaler factor value (PREDIV_S) This parameter corresponds to a time unit range between [0-1] Second with [1 Sec / SecondFraction +1] granularity.

This field will be used only by HAL_RTC_GetTime function

Definition at line 109 of file stm32h7xx_hal_rtc.h.

◆ Seconds

uint8_t RTC_TimeTypeDef::Seconds

Specifies the RTC Time Seconds.

This parameter must be a number between Min_Data = 0 and Max_Data = 59

Definition at line 99 of file stm32h7xx_hal_rtc.h.

Referenced by MX_RTC_Init().

◆ StoreOperation

uint32_t RTC_TimeTypeDef::StoreOperation

Specifies RTC_StoreOperation value to be written in the BKP bit in CR register to store the operation.

This parameter can be a value of RTC Store Operation Definitions

Definition at line 118 of file stm32h7xx_hal_rtc.h.

Referenced by MX_RTC_Init().

◆ SubSeconds

uint32_t RTC_TimeTypeDef::SubSeconds

Specifies the RTC_SSR RTC Sub Second register content.

This parameter corresponds to a time unit range between [0-1] Second with [1 Sec / SecondFraction +1] granularity

Definition at line 105 of file stm32h7xx_hal_rtc.h.

◆ TimeFormat

uint8_t RTC_TimeTypeDef::TimeFormat

Specifies the RTC AM/PM Time.

This parameter can be a value of RTC AM PM Definitions

Definition at line 102 of file stm32h7xx_hal_rtc.h.


The documentation for this struct was generated from the following file: