| 
    STM32H735xx HAL User Manual
   
    
   
   | 
  
  
  
 
Defines | |
| #define | __LL_RTC_CONVERT_BIN2BCD(__VALUE__) (uint8_t)((((__VALUE__) / 10U) << 4U) | ((__VALUE__) % 10U)) | 
| Helper macro to convert a value from 2 digit decimal format to BCD format.   | |
| #define | __LL_RTC_CONVERT_BCD2BIN(__VALUE__) ((uint8_t)((((uint8_t)((__VALUE__) & (uint8_t)0xF0) >> (uint8_t)0x4) * 10U) + ((__VALUE__) & (uint8_t)0x0F))) | 
| Helper macro to convert a value from BCD format to 2 digit decimal format.   | |
| #define __LL_RTC_CONVERT_BCD2BIN | ( | __VALUE__ | ) | ((uint8_t)((((uint8_t)((__VALUE__) & (uint8_t)0xF0) >> (uint8_t)0x4) * 10U) + ((__VALUE__) & (uint8_t)0x0F))) | 
Helper macro to convert a value from BCD format to 2 digit decimal format.
| __VALUE__ | BCD value to be converted | 
| Converted | byte | 
Definition at line 859 of file stm32h7xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_Init(), LL_RTC_ALMB_Init(), LL_RTC_DATE_Init(), and LL_RTC_TIME_Init().
| #define __LL_RTC_CONVERT_BIN2BCD | ( | __VALUE__ | ) | (uint8_t)((((__VALUE__) / 10U) << 4U) | ((__VALUE__) % 10U)) | 
Helper macro to convert a value from 2 digit decimal format to BCD format.
| __VALUE__ | Byte to be converted | 
| Converted | byte | 
Definition at line 852 of file stm32h7xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_Init(), LL_RTC_ALMB_Init(), LL_RTC_DATE_Init(), and LL_RTC_TIME_Init().
 1.7.6.1