Lines Matching refs:AlarmTime

1185   assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds));  in HAL_RTC_SetAlarm()
1197 assert_param(IS_RTC_HOUR12(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm()
1198 assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat)); in HAL_RTC_SetAlarm()
1202 sAlarm->AlarmTime.TimeFormat = 0x00U; in HAL_RTC_SetAlarm()
1203 assert_param(IS_RTC_HOUR24(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm()
1205 assert_param(IS_RTC_MINUTES(sAlarm->AlarmTime.Minutes)); in HAL_RTC_SetAlarm()
1206 assert_param(IS_RTC_SECONDS(sAlarm->AlarmTime.Seconds)); in HAL_RTC_SetAlarm()
1217 tmpreg = (((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Hours) << 16U) | \ in HAL_RTC_SetAlarm()
1218 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Minutes) << 8U) | \ in HAL_RTC_SetAlarm()
1219 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds)) | \ in HAL_RTC_SetAlarm()
1220 ((uint32_t)(sAlarm->AlarmTime.TimeFormat) << 16U) | \ in HAL_RTC_SetAlarm()
1229 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours))); in HAL_RTC_SetAlarm()
1230 assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat)); in HAL_RTC_SetAlarm()
1234 sAlarm->AlarmTime.TimeFormat = 0x00U; in HAL_RTC_SetAlarm()
1235 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours))); in HAL_RTC_SetAlarm()
1238 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sAlarm->AlarmTime.Minutes))); in HAL_RTC_SetAlarm()
1239 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds))); in HAL_RTC_SetAlarm()
1250 tmpreg = (((uint32_t)(sAlarm->AlarmTime.Hours) << 16U) | \ in HAL_RTC_SetAlarm()
1251 ((uint32_t)(sAlarm->AlarmTime.Minutes) << 8U) | \ in HAL_RTC_SetAlarm()
1252 ((uint32_t) sAlarm->AlarmTime.Seconds) | \ in HAL_RTC_SetAlarm()
1253 ((uint32_t)(sAlarm->AlarmTime.TimeFormat) << 16U) | \ in HAL_RTC_SetAlarm()
1260 …subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSu… in HAL_RTC_SetAlarm()
1367 assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds)); in HAL_RTC_SetAlarm_IT()
1379 assert_param(IS_RTC_HOUR12(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm_IT()
1380 assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat)); in HAL_RTC_SetAlarm_IT()
1384 sAlarm->AlarmTime.TimeFormat = 0x00U; in HAL_RTC_SetAlarm_IT()
1385 assert_param(IS_RTC_HOUR24(sAlarm->AlarmTime.Hours)); in HAL_RTC_SetAlarm_IT()
1387 assert_param(IS_RTC_MINUTES(sAlarm->AlarmTime.Minutes)); in HAL_RTC_SetAlarm_IT()
1388 assert_param(IS_RTC_SECONDS(sAlarm->AlarmTime.Seconds)); in HAL_RTC_SetAlarm_IT()
1398 tmpreg = (((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Hours) << 16U) | \ in HAL_RTC_SetAlarm_IT()
1399 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Minutes) << 8U) | \ in HAL_RTC_SetAlarm_IT()
1400 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds)) | \ in HAL_RTC_SetAlarm_IT()
1401 ((uint32_t)(sAlarm->AlarmTime.TimeFormat) << 16U) | \ in HAL_RTC_SetAlarm_IT()
1410 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours))); in HAL_RTC_SetAlarm_IT()
1411 assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat)); in HAL_RTC_SetAlarm_IT()
1415 sAlarm->AlarmTime.TimeFormat = 0x00U; in HAL_RTC_SetAlarm_IT()
1416 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours))); in HAL_RTC_SetAlarm_IT()
1419 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sAlarm->AlarmTime.Minutes))); in HAL_RTC_SetAlarm_IT()
1420 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds))); in HAL_RTC_SetAlarm_IT()
1430 tmpreg = (((uint32_t)(sAlarm->AlarmTime.Hours) << 16U) | \ in HAL_RTC_SetAlarm_IT()
1431 ((uint32_t)(sAlarm->AlarmTime.Minutes) << 8U) | \ in HAL_RTC_SetAlarm_IT()
1432 ((uint32_t) sAlarm->AlarmTime.Seconds) | \ in HAL_RTC_SetAlarm_IT()
1433 ((uint32_t)(sAlarm->AlarmTime.TimeFormat) << 16U) | \ in HAL_RTC_SetAlarm_IT()
1439 …subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSu… in HAL_RTC_SetAlarm_IT()
1651 sAlarm->AlarmTime.Hours = (uint8_t)((tmpreg & (RTC_ALRMAR_HT | RTC_ALRMAR_HU)) >> 16U); in HAL_RTC_GetAlarm()
1652 sAlarm->AlarmTime.Minutes = (uint8_t)((tmpreg & (RTC_ALRMAR_MNT | RTC_ALRMAR_MNU)) >> 8U); in HAL_RTC_GetAlarm()
1653 sAlarm->AlarmTime.Seconds = (uint8_t)(tmpreg & (RTC_ALRMAR_ST | RTC_ALRMAR_SU)); in HAL_RTC_GetAlarm()
1654 sAlarm->AlarmTime.TimeFormat = (uint8_t)((tmpreg & RTC_ALRMAR_PM) >> 16U); in HAL_RTC_GetAlarm()
1655 sAlarm->AlarmTime.SubSeconds = (uint32_t) subsecondtmpreg; in HAL_RTC_GetAlarm()
1668 sAlarm->AlarmTime.Hours = (uint8_t)((tmpreg & (RTC_ALRMBR_HT | RTC_ALRMBR_HU)) >> 16U); in HAL_RTC_GetAlarm()
1669 sAlarm->AlarmTime.Minutes = (uint8_t)((tmpreg & (RTC_ALRMBR_MNT | RTC_ALRMBR_MNU)) >> 8U); in HAL_RTC_GetAlarm()
1670 sAlarm->AlarmTime.Seconds = (uint8_t)(tmpreg & (RTC_ALRMBR_ST | RTC_ALRMBR_SU)); in HAL_RTC_GetAlarm()
1671 sAlarm->AlarmTime.TimeFormat = (uint8_t)((tmpreg & RTC_ALRMBR_PM) >> 16U); in HAL_RTC_GetAlarm()
1672 sAlarm->AlarmTime.SubSeconds = (uint32_t) subsecondtmpreg; in HAL_RTC_GetAlarm()
1680 sAlarm->AlarmTime.Hours = RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours); in HAL_RTC_GetAlarm()
1681 sAlarm->AlarmTime.Minutes = RTC_Bcd2ToByte(sAlarm->AlarmTime.Minutes); in HAL_RTC_GetAlarm()
1682 sAlarm->AlarmTime.Seconds = RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds); in HAL_RTC_GetAlarm()