| /hal_stm32-latest/stm32cube/stm32wb0x/drivers/include/ |
| D | stm32wb0x_ll_rtc.h | 1101 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1116 return (uint32_t)((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1282 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1314 ((temp & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos)); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/ |
| D | stm32c0xx_ll_rtc.h | 1231 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1246 return ((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1413 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1446 … ((((temp & RTC_DR_YT) >> RTC_DR_YT_Pos) << 4U) | ((temp & RTC_DR_YU) >> RTC_DR_YU_Pos))); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/ |
| D | stm32l4xx_hal_rtc.c | 964 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 975 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 1034 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate() 1634 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 1645 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 1703 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/ |
| D | stm32f2xx_ll_rtc.h | 1191 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1206 return (uint32_t)((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1372 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1404 ((temp & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos)); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32f0xx/drivers/include/ |
| D | stm32f0xx_ll_rtc.h | 1331 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1346 return (uint32_t)((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1512 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1544 ((temp & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos)); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32f7xx/drivers/include/ |
| D | stm32f7xx_ll_rtc.h | 1335 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1350 return (uint32_t)((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1516 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1548 ((temp & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos)); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32l0xx/drivers/include/ |
| D | stm32l0xx_ll_rtc.h | 1344 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1359 return (uint32_t)((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1525 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1557 ((temp & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos)); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32f3xx/drivers/include/ |
| D | stm32f3xx_ll_rtc.h | 1398 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1413 return (uint32_t)((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1579 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1611 ((temp & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos)); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/ |
| D | stm32f4xx_ll_rtc.h | 1324 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1339 return (uint32_t)((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1505 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1537 ((temp & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos)); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32l1xx/drivers/include/ |
| D | stm32l1xx_ll_rtc.h | 1341 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1356 return (uint32_t)((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1522 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1554 ((temp & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos)); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/ |
| D | stm32f2xx_hal_rtc.c | 844 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 855 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 918 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/ |
| D | stm32c0xx_hal_rtc.c | 747 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 758 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 816 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/ |
| D | stm32f0xx_hal_rtc.c | 893 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 904 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 967 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/ |
| D | stm32wb0x_hal_rtc.c | 804 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 815 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 878 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/ |
| D | stm32f4xx_hal_rtc.c | 883 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 894 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 957 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/ |
| D | stm32f7xx_hal_rtc.c | 893 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 904 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 967 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/ |
| D | stm32f3xx_hal_rtc.c | 900 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 911 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 974 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32wbxx/drivers/include/ |
| D | stm32wbxx_ll_rtc.h | 1401 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1419 … (uint32_t)((((temp & RTC_DR_YT) >> RTC_DR_YT_Pos) << 4U) | ((temp & RTC_DR_YU) >> RTC_DR_YU_Pos)); in LL_RTC_DATE_GetYear() 1592 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1623 … ((((temp & RTC_DR_YT) >> RTC_DR_YT_Pos) << 4U) | ((temp & RTC_DR_YU) >> RTC_DR_YU_Pos))); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/ |
| D | stm32l0xx_hal_rtc.c | 905 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 916 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 979 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/ |
| D | stm32mp1xx_hal_rtc.c | 933 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 944 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 1003 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/ |
| D | stm32g0xx_hal_rtc.c | 933 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 944 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 1002 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/ |
| D | stm32l1xx_hal_rtc.c | 907 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 918 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 981 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/ |
| D | stm32g0xx_ll_rtc.h | 1419 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos))); in LL_RTC_DATE_SetYear() 1434 return ((READ_BIT(RTCx->DR, (RTC_DR_YT | RTC_DR_YU))) >> RTC_DR_YU_Pos); in LL_RTC_DATE_GetYear() 1600 (((Year & 0xF0U) << (RTC_DR_YT_Pos - 4U)) | ((Year & 0x0FU) << RTC_DR_YU_Pos)) | \ in LL_RTC_DATE_Config() 1631 … ((((temp & RTC_DR_YT) >> RTC_DR_YT_Pos) << 4U) | ((temp & RTC_DR_YU) >> RTC_DR_YU_Pos))); in LL_RTC_DATE_Get()
|
| /hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/ |
| D | stm32wlxx_hal_rtc.c | 947 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 958 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 1017 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|
| /hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/ |
| D | stm32l5xx_hal_rtc.c | 1003 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 1014 datetmpreg = ((((uint32_t)sDate->Year) << RTC_DR_YU_Pos) | \ in HAL_RTC_SetDate() 1073 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> RTC_DR_YU_Pos); in HAL_RTC_GetDate()
|