Searched refs:temptime (Results 1 – 2 of 2) sorted by relevance
1160 uint32_t temptime = 0, tempdate = 0; in RTC_ReadTimeDate() local1161 temptime = (uint32_t)((RTC->TSTIME) & 0x007F7F7F); in RTC_ReadTimeDate()1164 timeStruct->hours = (uint8_t)((temptime & 0x003F0000) >> 16); in RTC_ReadTimeDate()1165 timeStruct->minutes = (uint8_t)((temptime & 0x00007F00) >> 8); in RTC_ReadTimeDate()1166 timeStruct->seconds = (uint8_t)(temptime & 0x0000007F); in RTC_ReadTimeDate()1167 timeStruct->H12 = (uint8_t)((temptime & 0x00400000) >> 22); in RTC_ReadTimeDate()
1378 uint32_t temptime = 0, tempdate = 0; in RTC_ReadTimeDate() local1379 temptime = (uint32_t)((RTC->TSTIME) & 0x007F7F7F); in RTC_ReadTimeDate()1383 time->hours = (uint8_t)((temptime & 0x003F0000) >> 16); in RTC_ReadTimeDate()1384 time->minutes = (uint8_t)((temptime & 0x00007F00) >> 8); in RTC_ReadTimeDate()1385 time->seconds = (uint8_t)(temptime & 0x0000007F); in RTC_ReadTimeDate()1386 time->h12 = (RTC_H12_T)((temptime & 0x00400000) >> 22); in RTC_ReadTimeDate()
Completed in 13 milliseconds