Home
last modified time | relevance | path

Searched refs:RTC_ByteToBcd2 (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/hal/Src/
Dstm32h5xx_hal_rtc.c1065 tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << RTC_TR_HU_Pos) | \ in HAL_RTC_SetTime()
1066 ((uint32_t)RTC_ByteToBcd2(sTime->Minutes) << RTC_TR_MNU_Pos) | \ in HAL_RTC_SetTime()
1067 ((uint32_t)RTC_ByteToBcd2(sTime->Seconds) << RTC_TR_SU_Pos) | \ in HAL_RTC_SetTime()
1218 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
1219 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << RTC_DR_MU_Pos) | \ in HAL_RTC_SetDate()
1220 ((uint32_t)RTC_ByteToBcd2(sDate->Date) << RTC_DR_DU_Pos) | \ in HAL_RTC_SetDate()
1505 tmpreg = (((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Hours) << RTC_ALRMAR_HU_Pos) | \ in HAL_RTC_SetAlarm()
1506 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Minutes) << RTC_ALRMAR_MNU_Pos) | \ in HAL_RTC_SetAlarm()
1507 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds) << RTC_ALRMAR_SU_Pos) | \ in HAL_RTC_SetAlarm()
1509 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmDateWeekDay) << RTC_ALRMAR_DU_Pos) | \ in HAL_RTC_SetAlarm()
[all …]
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_rtc.c1001 tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << RTC_TR_HU_Pos) | \ in HAL_RTC_SetTime()
1002 ((uint32_t)RTC_ByteToBcd2(sTime->Minutes) << RTC_TR_MNU_Pos) | \ in HAL_RTC_SetTime()
1003 ((uint32_t)RTC_ByteToBcd2(sTime->Seconds) << RTC_TR_SU_Pos) | \ in HAL_RTC_SetTime()
1219 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate()
1220 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << RTC_DR_MU_Pos) | \ in HAL_RTC_SetDate()
1221 ((uint32_t)RTC_ByteToBcd2(sDate->Date) << RTC_DR_DU_Pos) | \ in HAL_RTC_SetDate()
1404 tmpreg = (((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Hours) << RTC_ALRMAR_HU_Pos) | \ in HAL_RTC_SetAlarm()
1405 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Minutes) << RTC_ALRMAR_MNU_Pos) | \ in HAL_RTC_SetAlarm()
1406 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds) << RTC_ALRMAR_SU_Pos) | \ in HAL_RTC_SetAlarm()
1408 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmDateWeekDay) << RTC_ALRMAR_DU_Pos) | \ in HAL_RTC_SetAlarm()
[all …]
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/hal/Inc/
Dstm32u5xx_hal_rtc.h941 uint8_t RTC_ByteToBcd2(uint8_t Value);
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/hal/Inc/
Dstm32h5xx_hal_rtc.h961 uint8_t RTC_ByteToBcd2(uint8_t Value);