HAL + 0/28 examples
CodeScope will show references to RTC_TimeTypeDef::TimeFormat from the following samples and libraries:
Examples
STM32446E-Nucleo
Examples
RTC
STM32446E_EVAL
Examples
PWR
RTC
STM32469I_EVAL
Examples
PWR
RTC
STM324x9I_EVAL
Examples
PWR
RTC
STM324xG_EVAL
Examples
PWR
RTC
STM32F410xx-Nucleo
Examples
RTC
STM32F411RE-Nucleo
Examples
RTC
STM32F412G-Discovery
Examples
RTC
STM32F412ZG-Nucleo
Examples
RTC
STM32F413H-Discovery
Examples
RTC
STM32F413ZH-Nucleo
Examples
RTC
STM32F429ZI-Nucleo
Examples
RTC
STM32F446ZE-Nucleo
Examples
RTC
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALRTC_TimeTypeDef::TimeFormat

RTC_TimeTypeDef::TimeFormat field

Specifies the RTC AM/PM Time. This parameter can be a value of RTC_AM_PM_Definitions

Syntax

uint8_t TimeFormat;

Examples

RTC_TimeTypeDef::TimeFormat is referenced by 28 libraries and example projects.

References

LocationReferrerText
stm32f4xx_hal_rtc.h:96
uint8_t TimeFormat; /*!< Specifies the RTC AM/PM Time.
stm32f4xx_hal_rtc.c:718HAL_RTC_SetTime()
assert_param(IS_RTC_HOURFORMAT12(sTime->TimeFormat));
stm32f4xx_hal_rtc.c:722HAL_RTC_SetTime()
sTime->TimeFormat = 0x00U;
stm32f4xx_hal_rtc.c:731HAL_RTC_SetTime()
(((uint32_t)sTime->TimeFormat) << RTC_TR_PM_Pos));
stm32f4xx_hal_rtc.c:738HAL_RTC_SetTime()
assert_param(IS_RTC_HOURFORMAT12(sTime->TimeFormat));
stm32f4xx_hal_rtc.c:742HAL_RTC_SetTime()
sTime->TimeFormat = 0x00U;
stm32f4xx_hal_rtc.c:750HAL_RTC_SetTime()
((uint32_t)(sTime->TimeFormat) << RTC_TR_PM_Pos));
stm32f4xx_hal_rtc.c:832HAL_RTC_GetTime()
sTime->TimeFormat = (uint8_t)((tmpreg & (RTC_TR_PM)) >> RTC_TR_PM_Pos);
stm32f4xx_hal_rtc.c:1031HAL_RTC_SetAlarm()
assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat));
stm32f4xx_hal_rtc.c:1035HAL_RTC_SetAlarm()
sAlarm->AlarmTime.TimeFormat = 0x00U;
stm32f4xx_hal_rtc.c:1053HAL_RTC_SetAlarm()
((uint32_t)(sAlarm->AlarmTime.TimeFormat) << RTC_TR_PM_Pos) | \
stm32f4xx_hal_rtc.c:1063HAL_RTC_SetAlarm()
assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat));
stm32f4xx_hal_rtc.c:1067HAL_RTC_SetAlarm()
sAlarm->AlarmTime.TimeFormat = 0x00U;
stm32f4xx_hal_rtc.c:1086HAL_RTC_SetAlarm()
((uint32_t)(sAlarm->AlarmTime.TimeFormat) << RTC_TR_PM_Pos) | \
stm32f4xx_hal_rtc.c:1228HAL_RTC_SetAlarm_IT()
assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat));
stm32f4xx_hal_rtc.c:1232HAL_RTC_SetAlarm_IT()
sAlarm->AlarmTime.TimeFormat = 0x00U;
stm32f4xx_hal_rtc.c:1250HAL_RTC_SetAlarm_IT()
((uint32_t)(sAlarm->AlarmTime.TimeFormat) << RTC_TR_PM_Pos) | \
stm32f4xx_hal_rtc.c:1260HAL_RTC_SetAlarm_IT()
assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat));
stm32f4xx_hal_rtc.c:1264HAL_RTC_SetAlarm_IT()
sAlarm->AlarmTime.TimeFormat = 0x00U;
stm32f4xx_hal_rtc.c:1283HAL_RTC_SetAlarm_IT()
((uint32_t)(sAlarm->AlarmTime.TimeFormat) << RTC_TR_PM_Pos) | \
stm32f4xx_hal_rtc.c:1521HAL_RTC_GetAlarm()
sAlarm->AlarmTime.TimeFormat = (uint8_t) ((tmpreg & RTC_ALRMAR_PM) >> RTC_TR_PM_Pos);
stm32f4xx_hal_rtc_ex.c:381HAL_RTCEx_GetTimeStamp()
sTimeStamp->TimeFormat = (uint8_t)((tmptime & (RTC_TSTR_PM)) >> RTC_TSTR_PM_Pos);

Data Use

Functions writing RTC_TimeTypeDef::TimeFormat
Functions reading RTC_TimeTypeDef::TimeFormat
RTC_TimeTypeDef::TimeFormat
Type of RTC_TimeTypeDef::TimeFormat
RTC_TimeTypeDef::TimeFormat
uint8_t
all items filtered out