Home
last modified time | relevance | path

Searched refs:Month (Results 1 – 25 of 119) sorted by relevance

12345

/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_rtc.c395 hrtc->DateToUpdate.Month = RTC_MONTH_JANUARY; in HAL_RTC_Init()
935 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate()
940 hrtc->DateToUpdate.Month = sDate->Month; in HAL_RTC_SetDate()
946 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate()
951 hrtc->DateToUpdate.Month = RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_SetDate()
956 …hrtc->DateToUpdate.WeekDay = RTC_WeekDayNum(hrtc->DateToUpdate.Year, hrtc->DateToUpdate.Month, hrt… in HAL_RTC_SetDate()
1050 sDate->Month = hrtc->DateToUpdate.Month; in HAL_RTC_GetDate()
1058 sDate->Month = (uint8_t)RTC_ByteToBcd2(sDate->Month); in HAL_RTC_GetDate()
1794 month = hrtc->DateToUpdate.Month; in RTC_DateUpdate()
1867 hrtc->DateToUpdate.Month = month; in RTC_DateUpdate()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_rtc.c951 if ((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10U) == 0x10U)) in HAL_RTC_SetDate()
953 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10U)) + (uint8_t)0x0AU); in HAL_RTC_SetDate()
961 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate()
965 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << RTC_DR_MU_Pos) | \ in HAL_RTC_SetDate()
972 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate()
976 (((uint32_t)sDate->Month) << RTC_DR_MU_Pos) | \ in HAL_RTC_SetDate()
1035 sDate->Month = (uint8_t)((datetmpreg & (RTC_DR_MT | RTC_DR_MU)) >> RTC_DR_MU_Pos); in HAL_RTC_GetDate()
1044 sDate->Month = (uint8_t)RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_GetDate()
1621 if ((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10U) == 0x10U)) in HAL_RTC_SetDate()
1623 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10U)) + (uint8_t)0x0AU); in HAL_RTC_SetDate()
[all …]
Dstm32l4xx_ll_rtc.c368 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
370 …RTC_DateStruct->Month = (uint8_t)(((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU); in LL_RTC_DATE_Init()
376 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
382 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
396 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
401 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
433 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_rtc.c352 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
354 RTC_DateStruct->Month = (RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
359 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
365 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
379 LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, in LL_RTC_DATE_Init()
385 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), in LL_RTC_DATE_Init()
418 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_rtc.c356 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
358 RTC_DateStruct->Month = (uint8_t)(RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
363 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
369 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
383 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
388 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
420 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_ll_rtc.c347 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
349 RTC_DateStruct->Month = (uint8_t)(RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
354 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
360 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
374 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
379 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
411 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_rtc.c350 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
352 RTC_DateStruct->Month = (uint8_t)(RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
357 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
363 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
377 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
382 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
406 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
Dstm32f2xx_hal_rtc.c831 if ((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10U) == 0x10U)) in HAL_RTC_SetDate()
833 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10U)) + (uint8_t)0x0AU); in HAL_RTC_SetDate()
841 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate()
845 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << RTC_DR_MU_Pos) | \ in HAL_RTC_SetDate()
852 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate()
856 (((uint32_t)sDate->Month) << RTC_DR_MU_Pos) | \ in HAL_RTC_SetDate()
919 sDate->Month = (uint8_t)((datetmpreg & (RTC_DR_MT | RTC_DR_MU)) >> RTC_DR_MU_Pos); in HAL_RTC_GetDate()
928 sDate->Month = (uint8_t)RTC_Bcd2ToByte(sDate->Month); in HAL_RTC_GetDate()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_rtc.c370 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
372 … RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
383 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
397 LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, in LL_RTC_DATE_Init()
403 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), in LL_RTC_DATE_Init()
436 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_ll_rtc.c372 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
374 RTC_DateStruct->Month = (RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
379 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
385 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
399 LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, in LL_RTC_DATE_Init()
405 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), in LL_RTC_DATE_Init()
438 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_rtc.c362 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
364 RTC_DateStruct->Month = (uint8_t)(RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
369 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
375 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
389 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
394 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
426 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_rtc.c362 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
364 RTC_DateStruct->Month = (uint8_t)(RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
369 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
375 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
389 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
394 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
426 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_ll_rtc.c382 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
384 RTC_DateStruct->Month = (RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
389 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
395 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
409 LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, in LL_RTC_DATE_Init()
415 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), in LL_RTC_DATE_Init()
448 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_rtc.c365 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
367 RTC_DateStruct->Month = (uint8_t)(RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
372 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
378 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
392 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
397 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
429 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_rtc.c365 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
367 RTC_DateStruct->Month = (uint8_t)(RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
372 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
378 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
392 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
397 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
429 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_ll_rtc.c375 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
377 … RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
382 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
388 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
402 LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, in LL_RTC_DATE_Init()
408 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), in LL_RTC_DATE_Init()
441 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_rtc.c381 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
383 RTC_DateStruct->Month = (uint8_t)((RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU); in LL_RTC_DATE_Init()
388 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
394 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
408 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
413 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
445 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_rtc.c375 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
377 … RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
382 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
388 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
402 LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, in LL_RTC_DATE_Init()
408 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), in LL_RTC_DATE_Init()
441 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_rtc.c365 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
367 RTC_DateStruct->Month = (RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
372 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
378 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
392 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
397 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
429 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_rtc.c370 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
372 RTC_DateStruct->Month = (uint8_t)(RTC_DateStruct->Month & (uint8_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
383 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
397 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
402 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
438 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_rtc.c397 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
399 …RTC_DateStruct->Month = (uint8_t)(((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU); in LL_RTC_DATE_Init()
404 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
410 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
424 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
429 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
461 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_ll_rtc.c379 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
381 … RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
386 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
392 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
406 LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, in LL_RTC_DATE_Init()
412 __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), in LL_RTC_DATE_Init()
445 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_rtc.c385 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
387 … RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
392 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
398 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
412 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
417 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
449 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_ll_rtc.c381 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
383 … RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
388 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
394 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
408 …LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, RTC_… in LL_RTC_DATE_Init()
413 … __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Month), __LL_RTC_CONVERT_BIN2BCD(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
445 RTC_DateStruct->Month = LL_RTC_MONTH_JANUARY; in LL_RTC_DATE_StructInit()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_rtc.c384 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
386 RTC_DateStruct->Month = (uint8_t)(RTC_DateStruct->Month & (uint8_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()

12345