__HAL_RTC_WRITEPROTECTION_DISABLE macro
Disable the write protection for RTC registers.
Syntax
#define __HAL_RTC_WRITEPROTECTION_DISABLE(__HANDLE__) do { \
(__HANDLE__)->Instance->WPR = 0xCAU; \
(__HANDLE__)->Instance->WPR = 0x53U; \
} while(0U)
Arguments
__HANDLE__
specifies the RTC handle.
Return value
None
Examples
__HAL_RTC_WRITEPROTECTION_DISABLE is referenced by 42 libraries and example projects: