Searched refs:Month (Results 1 – 8 of 8) sorted by relevance
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/ |
A D | stm32f0xx_ll_rtc.c | 384 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init() 386 RTC_DateStruct->Month = (RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init() 391 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init() 397 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init() 411 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init() 416 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init() 448 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
|
A D | stm32f0xx_hal_rtc.c | 601 if((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10U) == 0x10U)) in HAL_RTC_SetDate() 603 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10U)) + (uint8_t)0x0AU); in HAL_RTC_SetDate() 611 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate() 615 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << 8U) | \ in HAL_RTC_SetDate() 622 datetmpreg = RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_SetDate() 628 (((uint32_t)sDate->Month) << 8U) | \ in HAL_RTC_SetDate() 712 sDate->Month = (uint8_t)((datetmpreg & (RTC_DR_MT | RTC_DR_MU)) >> 8U); in HAL_RTC_GetDate() 721 sDate->Month = (uint8_t)RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_GetDate()
|
A D | stm32f0xx_hal_rtc_ex.c | 318 sTimeStampDate->Month = (uint8_t)((tmpdate & (RTC_DR_MT | RTC_DR_MU)) >> 8U); in HAL_RTCEx_GetTimeStamp() 331 sTimeStampDate->Month = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Month); in HAL_RTCEx_GetTimeStamp()
|
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/ |
A D | stm32f7xx_hal_rtc.c | 596 if ((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10) == 0x10)) { in HAL_RTC_SetDate() 597 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10)) + (uint8_t)0x0A); in HAL_RTC_SetDate() 604 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate() 608 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << 8) | \ in HAL_RTC_SetDate() 613 datetmpreg = RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_SetDate() 619 (((uint32_t)sDate->Month) << 8) | \ in HAL_RTC_SetDate() 699 sDate->Month = (uint8_t)((datetmpreg & (RTC_DR_MT | RTC_DR_MU)) >> 8); in HAL_RTC_GetDate() 707 sDate->Month = (uint8_t)RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_GetDate()
|
A D | stm32f7xx_hal_rtc_ex.c | 399 sTimeStampDate->Month = (uint8_t)((tmpdate & (RTC_DR_MT | RTC_DR_MU)) >> 8); in HAL_RTCEx_GetTimeStamp() 411 sTimeStampDate->Month = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Month); in HAL_RTCEx_GetTimeStamp()
|
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/ |
A D | stm32f0xx_ll_rtc.h | 160 uint8_t Month; /*!< Specifies the RTC Date Month. member 1484 __STATIC_INLINE void LL_RTC_DATE_SetMonth(RTC_TypeDef *RTCx, uint32_t Month) in LL_RTC_DATE_SetMonth() argument 1487 (((Month & 0xF0U) << (RTC_DR_MT_Pos - 4U)) | ((Month & 0x0FU) << RTC_DR_MU_Pos))); in LL_RTC_DATE_SetMonth() 1588 …L_RTC_DATE_Config(RTC_TypeDef *RTCx, uint32_t WeekDay, uint32_t Day, uint32_t Month, uint32_t Year) in LL_RTC_DATE_Config() argument 1594 (((Month & 0xF0U) << (RTC_DR_MT_Pos - 4U)) | ((Month & 0x0FU) << RTC_DR_MU_Pos)) | \ in LL_RTC_DATE_Config()
|
A D | stm32f0xx_hal_rtc.h | 141 uint8_t Month; /*!< Specifies the RTC Date Month (in BCD format). member
|
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Inc/ |
A D | stm32f7xx_hal_rtc.h | 132 uint8_t Month; /*!< Specifies the RTC Date Month (in BCD format). member
|
Completed in 23 milliseconds