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