/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_rtc.c | 820 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 826 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 828 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 829 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 919 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 920 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 921 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 971 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 972 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 973 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_rtc.c | 711 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 717 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 719 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 720 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 799 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 800 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 801 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 851 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 852 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 853 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_rtc.c | 613 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 619 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 621 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 622 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 703 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 704 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 705 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 754 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 755 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 756 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
D | stm32c0xx_hal_rtc_ex.c | 300 sTimeStamp->Hours = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Hours); in HAL_RTCEx_GetTimeStamp() 301 sTimeStamp->Minutes = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Minutes); in HAL_RTCEx_GetTimeStamp() 302 sTimeStamp->Seconds = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Seconds); in HAL_RTCEx_GetTimeStamp() 305 sTimeStampDate->Month = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Month); in HAL_RTCEx_GetTimeStamp() 306 sTimeStampDate->Date = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Date); in HAL_RTCEx_GetTimeStamp() 307 sTimeStampDate->WeekDay = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->WeekDay); in HAL_RTCEx_GetTimeStamp()
|
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_rtc.c | 747 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 753 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 755 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 756 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 848 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 849 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 850 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 900 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 901 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 902 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/ |
D | stm32wb0x_hal_rtc.c | 658 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 664 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 666 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 667 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 759 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 760 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 761 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 811 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 812 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 813 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_rtc.c | 737 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 743 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 745 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 746 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 838 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 839 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 840 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 890 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 891 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 892 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_rtc.c | 747 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 753 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 755 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 756 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 848 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 849 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 850 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 900 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 901 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 902 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_rtc.c | 754 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 760 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 762 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 763 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 855 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 856 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 857 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 907 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 908 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 909 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_rtc.c | 804 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 810 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 812 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 813 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 926 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 927 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 928 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 976 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 977 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 978 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_rtc.c | 759 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 765 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 767 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 768 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 860 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 861 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 862 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 912 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 913 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 914 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_rtc.c | 798 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 804 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 806 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 807 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 889 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 890 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 891 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 940 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 941 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 942 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_rtc.c | 799 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 805 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 807 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 808 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 889 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 890 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 891 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 940 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 941 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 942 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_rtc.c | 759 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 765 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 767 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 768 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 862 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 863 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 864 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 914 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 915 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 916 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_rtc.c | 803 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 809 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 811 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 812 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 902 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 903 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 904 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 954 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 955 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 956 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_rtc.c | 868 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 874 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 876 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 877 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 959 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 960 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 961 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1010 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 1011 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1012 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/ |
D | stm32u0xx_hal_rtc.c | 878 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 884 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 886 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 887 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 989 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 990 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 991 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1040 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 1041 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1042 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_rtc.c | 859 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 865 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 867 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 868 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 949 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 950 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 951 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1000 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 1001 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1002 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_rtc.c | 912 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 918 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 920 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 921 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 999 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 1000 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 1001 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1050 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 1051 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1052 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_rtc.c | 232 static uint8_t RTC_Bcd2ToByte(uint8_t Value); 734 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 735 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 736 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 738 counter_time = (((uint32_t)(RTC_Bcd2ToByte(sTime->Hours)) * 3600U) + \ in HAL_RTC_SetTime() 739 ((uint32_t)(RTC_Bcd2ToByte(sTime->Minutes)) * 60U) + \ in HAL_RTC_SetTime() 740 ((uint32_t)(RTC_Bcd2ToByte(sTime->Seconds)))); in HAL_RTC_SetTime() 945 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 946 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 947 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_rtc.c | 1026 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 1032 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 1034 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 1035 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 1187 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 1188 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 1189 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1248 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 1249 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1250 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/ |
D | stm32n6xx_hal_rtc.c | 1039 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 1045 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 1047 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 1048 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 1137 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 1138 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 1139 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1190 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 1191 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1192 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_rtc.c | 1066 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 1072 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 1074 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 1075 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 1164 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 1165 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 1166 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1217 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 1218 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1219 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_rtc.c | 979 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 985 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 987 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 988 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 1077 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 1078 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 1079 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1130 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 1131 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1132 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/ |
D | stm32h7rsxx_hal_rtc.c | 1070 assert_param(IS_RTC_HOUR12(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 1076 assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours))); in HAL_RTC_SetTime() 1078 assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes))); in HAL_RTC_SetTime() 1079 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 1168 sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_GetTime() 1169 sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes); in HAL_RTC_GetTime() 1170 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1221 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate() 1222 assert_param(IS_RTC_MONTH(RTC_Bcd2ToByte(sDate->Month))); in HAL_RTC_SetDate() 1223 assert_param(IS_RTC_DATE(RTC_Bcd2ToByte(sDate->Date))); in HAL_RTC_SetDate() [all …]
|