/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_ll_rtc.c | 348 …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/ |
D | stm32c0xx_ll_rtc.c | 344 …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/ |
D | stm32f2xx_ll_rtc.c | 342 …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/ |
D | stm32h5xx_ll_rtc.c | 367 …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() 377 … RTC_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/ |
D | stm32l0xx_ll_rtc.c | 357 …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/ |
D | stm32l1xx_ll_rtc.c | 362 …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/ |
D | stm32g0xx_ll_rtc.c | 357 …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/ |
D | stm32wbaxx_ll_rtc.c | 371 …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() 381 … RTC_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/ |
D | stm32wbxx_ll_rtc.c | 374 …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/ |
D | stm32f7xx_ll_rtc.c | 357 …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/ |
D | stm32h7xx_ll_rtc.c | 373 …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/ |
D | stm32f3xx_ll_rtc.c | 354 …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/ |
D | stm32f4xx_ll_rtc.c | 354 …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/ |
D | stm32l4xx_ll_rtc.c | 360 …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() 370 …RTC_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/ |
D | stm32wlxx_ll_rtc.c | 389 …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() 399 …RTC_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/ |
D | stm32g4xx_ll_rtc.c | 376 …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/ |
D | stm32mp1xx_ll_rtc.c | 373 …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)((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/ |
D | stm32l5xx_ll_rtc.c | 377 …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() 387 … RTC_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/ |
D | stm32u5xx_ll_rtc.c | 378 …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() 388 … 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_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/ |
D | stm32c0xx_ll_rtc.h | 2426 …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/ |
D | stm32f2xx_ll_rtc.h | 3108 …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/ |
D | stm32f0xx_ll_rtc.h | 3078 …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/ |
D | stm32f3xx_ll_rtc.h | 3625 …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/ |
D | stm32f7xx_ll_rtc.h | 3801 …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/ |
D | stm32l1xx_ll_rtc.h | 3666 …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);
|