Home
last modified time | relevance | path

Searched refs:tempdate (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
1162 tempdate = (uint32_t)((RTC->TSDATE) & 0x00FFFF3F); in RTC_ReadTimeDate()
1170 dateStruct->month = (uint8_t)((tempdate & 0x00001F00) >> 8); in RTC_ReadTimeDate()
1171 dateStruct->date = (uint8_t)(tempdate & 0x0000003F); in RTC_ReadTimeDate()
1172 dateStruct->weekday = (uint8_t)((tempdate & 0x0000E000) >> 13); 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
1380 tempdate = (uint32_t)((RTC->TSDATE) & 0x00FFFF3F); in RTC_ReadTimeDate()
1390 date->month = (RTC_MONTH_T)((tempdate & 0x00001F00) >> 8); in RTC_ReadTimeDate()
1391 date->date = (uint8_t)(tempdate & 0x0000003F); in RTC_ReadTimeDate()
1392 date->weekday = (RTC_WEEKDAY_T)((tempdate & 0x0000E000) >> 13); in RTC_ReadTimeDate()

Completed in 11 milliseconds