Home
last modified time | relevance | path

Searched refs:temptime (Results 1 – 2 of 2) sorted by relevance

/bsp/apm32/libraries/APM32F0xx_Library/APM32F0xx_StdPeriphDriver/src/
A Dapm32f0xx_rtc.c1160 uint32_t temptime = 0, tempdate = 0; in RTC_ReadTimeDate() local
1161 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()
/bsp/apm32/libraries/APM32F4xx_Library/APM32F4xx_StdPeriphDriver/src/
A Dapm32f4xx_rtc.c1378 uint32_t temptime = 0, tempdate = 0; in RTC_ReadTimeDate() local
1379 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