Home
last modified time | relevance | path

Searched refs:RTC_DateStruct (Results 1 – 25 of 38) sorted by relevance

12

/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_rtc.c348 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
356 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()
362 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
363 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
364 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
368 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
369 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
370 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
372 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_rtc.c344 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
352 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()
358 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
359 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
360 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
364 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
365 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
366 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
368 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_rtc.c342 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
350 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()
356 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
357 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
358 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
362 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
363 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
364 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
366 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_rtc.c367 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
375 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
377RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
381 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
382 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
383 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
387 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
388 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
389 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
391 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_rtc.c357 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
365 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()
371 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
372 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
373 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
378 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
379 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
381 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_rtc.c362 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
370 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()
376 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
378 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
382 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
383 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
384 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
386 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_rtc.c357 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
365 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()
371 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
372 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
373 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
378 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
379 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
381 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_ll_rtc.c371 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
379 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
381RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
385 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
386 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
387 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
391 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
392 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
393 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
395 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_ll_rtc.c374 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
382 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()
388 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
389 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
390 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
394 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
395 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
396 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
398 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_rtc.c357 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
365 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()
371 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
372 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
373 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
378 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
379 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
381 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_rtc.c373 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
381 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()
387 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
388 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
389 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
393 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
394 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
395 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
397 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_rtc.c354 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
362 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()
368 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
369 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
370 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
374 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
375 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
376 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
378 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_rtc.c354 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
362 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()
368 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
369 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
370 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
374 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
375 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
376 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
378 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_rtc.c360 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
368 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
370RTC_DateStruct->Month = (uint8_t)(((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU); in LL_RTC_DATE_Init()
375 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
376 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
377 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
381 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
382 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
383 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
385 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_rtc.c389 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
397 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
399RTC_DateStruct->Month = (uint8_t)(((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU); in LL_RTC_DATE_Init()
403 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
404 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
405 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
409 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
410 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
411 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
413 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_rtc.c376 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
384 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()
390 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
391 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
392 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
396 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
397 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
398 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
400 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_ll_rtc.c373 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
381 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
383RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
387 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
388 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
389 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
393 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
394 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
395 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
397 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_rtc.c377 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
385 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
387RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
391 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
392 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
393 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
397 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
398 assert_param(IS_LL_RTC_MONTH(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Month))); in LL_RTC_DATE_Init()
399 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
401 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_rtc.c378 …Status LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct) in LL_RTC_DATE_Init() argument
386 if ((RTC_Format == LL_RTC_FORMAT_BIN) && ((RTC_DateStruct->Month & 0x10U) == 0x10U)) in LL_RTC_DATE_Init()
388RTC_DateStruct->Month = (uint8_t)((uint32_t) RTC_DateStruct->Month & (uint32_t)~(0x10U)) + 0x0AU; in LL_RTC_DATE_Init()
392 assert_param(IS_LL_RTC_YEAR(RTC_DateStruct->Year)); in LL_RTC_DATE_Init()
393 assert_param(IS_LL_RTC_DAY(RTC_DateStruct->Day)); in LL_RTC_DATE_Init()
397 assert_param(IS_LL_RTC_YEAR(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Year))); in LL_RTC_DATE_Init()
398 assert_param(IS_LL_RTC_DAY(__LL_RTC_CONVERT_BCD2BIN(RTC_DateStruct->Day))); in LL_RTC_DATE_Init()
401 assert_param(IS_LL_RTC_MONTH(RTC_DateStruct->Month)); in LL_RTC_DATE_Init()
402 assert_param(IS_LL_RTC_WEEKDAY(RTC_DateStruct->WeekDay)); in LL_RTC_DATE_Init()
413 … LL_RTC_DATE_Config(RTCx, RTC_DateStruct->WeekDay, RTC_DateStruct->Day, RTC_DateStruct->Month, \ in LL_RTC_DATE_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_ll_rtc.h2426 …tatus LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct);
2427 void LL_RTC_DATE_StructInit(LL_RTC_DateTypeDef *RTC_DateStruct);
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_ll_rtc.h3108 …tatus LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct);
3109 void LL_RTC_DATE_StructInit(LL_RTC_DateTypeDef *RTC_DateStruct);
/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/include/
Dstm32f0xx_ll_rtc.h3078 …tatus LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct);
3079 void LL_RTC_DATE_StructInit(LL_RTC_DateTypeDef *RTC_DateStruct);
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_ll_rtc.h3625 …tatus LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct);
3626 void LL_RTC_DATE_StructInit(LL_RTC_DateTypeDef *RTC_DateStruct);
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/include/
Dstm32f7xx_ll_rtc.h3801 …tatus LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct);
3802 void LL_RTC_DATE_StructInit(LL_RTC_DateTypeDef *RTC_DateStruct);
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_ll_rtc.h3666 …tatus LL_RTC_DATE_Init(RTC_TypeDef *RTCx, uint32_t RTC_Format, LL_RTC_DateTypeDef *RTC_DateStruct);
3667 void LL_RTC_DATE_StructInit(LL_RTC_DateTypeDef *RTC_DateStruct);

12