| STM32F479xx HAL User Manual
   
    | 
Extension Peripheral Control functions. More...
| Functions | |
| void | HAL_RTCEx_BKUPWrite (RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data) | 
| Writes a data in a specified RTC Backup data register. | |
| uint32_t | HAL_RTCEx_BKUPRead (RTC_HandleTypeDef *hrtc, uint32_t BackupRegister) | 
| Reads data from the specified RTC Backup data Register. | |
| HAL_StatusTypeDef | HAL_RTCEx_SetCoarseCalib (RTC_HandleTypeDef *hrtc, uint32_t CalibSign, uint32_t Value) | 
| Sets the Coarse calibration parameters. | |
| HAL_StatusTypeDef | HAL_RTCEx_DeactivateCoarseCalib (RTC_HandleTypeDef *hrtc) | 
| Deactivates the Coarse calibration parameters. | |
| HAL_StatusTypeDef | HAL_RTCEx_SetSmoothCalib (RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmouthCalibMinusPulsesValue) | 
| Sets the Smooth calibration parameters. | |
| HAL_StatusTypeDef | HAL_RTCEx_SetSynchroShift (RTC_HandleTypeDef *hrtc, uint32_t ShiftAdd1S, uint32_t ShiftSubFS) | 
| Configures the Synchronization Shift Control Settings. | |
| HAL_StatusTypeDef | HAL_RTCEx_SetCalibrationOutPut (RTC_HandleTypeDef *hrtc, uint32_t CalibOutput) | 
| Configures the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz). | |
| HAL_StatusTypeDef | HAL_RTCEx_DeactivateCalibrationOutPut (RTC_HandleTypeDef *hrtc) | 
| Deactivates the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz). | |
| HAL_StatusTypeDef | HAL_RTCEx_SetRefClock (RTC_HandleTypeDef *hrtc) | 
| Enables the RTC reference clock detection. | |
| HAL_StatusTypeDef | HAL_RTCEx_DeactivateRefClock (RTC_HandleTypeDef *hrtc) | 
| Disable the RTC reference clock detection. | |
| HAL_StatusTypeDef | HAL_RTCEx_EnableBypassShadow (RTC_HandleTypeDef *hrtc) | 
| Enables the Bypass Shadow feature. | |
| HAL_StatusTypeDef | HAL_RTCEx_DisableBypassShadow (RTC_HandleTypeDef *hrtc) | 
| Disables the Bypass Shadow feature. | |
Extension Peripheral Control functions.
 ===============================================================================
              ##### Extension Peripheral Control functions #####
 ===============================================================================
    [..]
    This subsection provides functions allowing to
      (+) Write a data in a specified RTC Backup data register
      (+) Read a data in a specified RTC Backup data register
      (+) Set the Coarse calibration parameters.
      (+) Deactivate the Coarse calibration parameters
      (+) Set the Smooth calibration parameters.
      (+) Configure the Synchronization Shift Control Settings.
      (+) Configure the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz).
      (+) Deactivate the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz).
      (+) Enable the RTC reference clock detection.
      (+) Disable the RTC reference clock detection.
      (+) Enable the Bypass Shadow feature.
      (+) Disable the Bypass Shadow feature.
| uint32_t HAL_RTCEx_BKUPRead | ( | RTC_HandleTypeDef * | hrtc, | 
| uint32_t | BackupRegister | ||
| ) | 
Reads data from the specified RTC Backup data Register.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| BackupRegister | RTC Backup data Register number. This parameter can be: RTC_BKP_DRx where x can be from 0 to 19 to specify the register. | 
| Read | value | 
Definition at line 1150 of file stm32f4xx_hal_rtc_ex.c.
References assert_param, __RTC_HandleTypeDef::Instance, and IS_RTC_BKP.
| void HAL_RTCEx_BKUPWrite | ( | RTC_HandleTypeDef * | hrtc, | 
| uint32_t | BackupRegister, | ||
| uint32_t | Data | ||
| ) | 
Writes a data in a specified RTC Backup data register.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| BackupRegister | RTC Backup data Register number. This parameter can be: RTC_BKP_DRx where x can be from 0 to 19 to specify the register. | 
| Data | Data to be written in the specified RTC Backup data register. | 
| None | 
Definition at line 1127 of file stm32f4xx_hal_rtc_ex.c.
References assert_param, __RTC_HandleTypeDef::Instance, and IS_RTC_BKP.
| HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut | ( | RTC_HandleTypeDef * | hrtc | ) | 
Deactivates the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz).
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| HAL | status | 
Definition at line 1508 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_CALIBRATION_OUTPUT_DISABLE, __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, HAL_RTC_STATE_BUSY, HAL_RTC_STATE_READY, and __RTC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_RTCEx_DeactivateCoarseCalib | ( | RTC_HandleTypeDef * | hrtc | ) | 
Deactivates the Coarse calibration parameters.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| HAL | status | 
Definition at line 1239 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_COARSE_CALIB_DISABLE, __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, HAL_RTC_STATE_BUSY, HAL_RTC_STATE_ERROR, HAL_RTC_STATE_READY, __RTC_HandleTypeDef::Instance, RTC_EnterInitMode(), and __RTC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock | ( | RTC_HandleTypeDef * | hrtc | ) | 
Disable the RTC reference clock detection.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| HAL | status | 
Definition at line 1588 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_CLOCKREF_DETECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, HAL_RTC_STATE_BUSY, HAL_RTC_STATE_ERROR, HAL_RTC_STATE_READY, __RTC_HandleTypeDef::Instance, RTC_EnterInitMode(), and __RTC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow | ( | RTC_HandleTypeDef * | hrtc | ) | 
Disables the Bypass Shadow feature.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| HAL | status | 
Definition at line 1673 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, HAL_RTC_STATE_BUSY, HAL_RTC_STATE_READY, __RTC_HandleTypeDef::Instance, and __RTC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow | ( | RTC_HandleTypeDef * | hrtc | ) | 
Enables the Bypass Shadow feature.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| HAL | status | 
Definition at line 1640 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, HAL_RTC_STATE_BUSY, HAL_RTC_STATE_READY, __RTC_HandleTypeDef::Instance, and __RTC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut | ( | RTC_HandleTypeDef * | hrtc, | 
| uint32_t | CalibOutput | ||
| ) | 
Configures the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz).
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| CalibOutput | Select the Calibration output Selection . This parameter can be one of the following values: 
 | 
| HAL | status | 
Definition at line 1469 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_CALIBRATION_OUTPUT_ENABLE, __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, assert_param, HAL_RTC_STATE_BUSY, HAL_RTC_STATE_READY, __RTC_HandleTypeDef::Instance, IS_RTC_CALIB_OUTPUT, and __RTC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_RTCEx_SetCoarseCalib | ( | RTC_HandleTypeDef * | hrtc, | 
| uint32_t | CalibSign, | ||
| uint32_t | Value | ||
| ) | 
Sets the Coarse calibration parameters.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| CalibSign | Specifies the sign of the coarse calibration value. This parameter can be one of the following values : 
 | 
| Value | value of coarse calibration expressed in ppm (coded on 5 bits). | 
| HAL | status | 
Definition at line 1181 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_COARSE_CALIB_ENABLE, __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, assert_param, HAL_RTC_STATE_BUSY, HAL_RTC_STATE_ERROR, HAL_RTC_STATE_READY, __RTC_HandleTypeDef::Instance, IS_RTC_CALIB_SIGN, IS_RTC_CALIB_VALUE, RTC_EnterInitMode(), and __RTC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_RTCEx_SetRefClock | ( | RTC_HandleTypeDef * | hrtc | ) | 
Enables the RTC reference clock detection.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| HAL | status | 
Definition at line 1538 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_CLOCKREF_DETECTION_ENABLE, __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, HAL_RTC_STATE_BUSY, HAL_RTC_STATE_ERROR, HAL_RTC_STATE_READY, __RTC_HandleTypeDef::Instance, RTC_EnterInitMode(), and __RTC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib | ( | RTC_HandleTypeDef * | hrtc, | 
| uint32_t | SmoothCalibPeriod, | ||
| uint32_t | SmoothCalibPlusPulses, | ||
| uint32_t | SmouthCalibMinusPulsesValue | ||
| ) | 
Sets the Smooth calibration parameters.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| SmoothCalibPeriod | Select the Smooth Calibration Period. This parameter can be can be one of the following values : 
 | 
| SmoothCalibPlusPulses | Select to Set or reset the CALP bit. This parameter can be one of the following values: 
 | 
| SmouthCalibMinusPulsesValue | Select the value of CALM[80] bits. This parameter can be one any value from 0 to 0x000001FF. | 
| HAL | status | 
Definition at line 1304 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, assert_param, HAL_GetTick(), HAL_RTC_STATE_BUSY, HAL_RTC_STATE_READY, HAL_RTC_STATE_TIMEOUT, __RTC_HandleTypeDef::Instance, IS_RTC_SMOOTH_CALIB_MINUS, IS_RTC_SMOOTH_CALIB_PERIOD, IS_RTC_SMOOTH_CALIB_PLUS, RTC_TIMEOUT_VALUE, and __RTC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift | ( | RTC_HandleTypeDef * | hrtc, | 
| uint32_t | ShiftAdd1S, | ||
| uint32_t | ShiftSubFS | ||
| ) | 
Configures the Synchronization Shift Control Settings.
| hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. | 
| ShiftAdd1S | Select to add or not 1 second to the time calendar. This parameter can be one of the following values : 
 | 
| ShiftSubFS | Select the number of Second Fractions to substitute. This parameter can be one any value from 0 to 0x7FFF. | 
| HAL | status | 
Definition at line 1374 of file stm32f4xx_hal_rtc_ex.c.
References __HAL_RTC_WRITEPROTECTION_DISABLE, __HAL_RTC_WRITEPROTECTION_ENABLE, assert_param, HAL_GetTick(), HAL_RTC_STATE_BUSY, HAL_RTC_STATE_ERROR, HAL_RTC_STATE_READY, HAL_RTC_STATE_TIMEOUT, HAL_RTC_WaitForSynchro(), __RTC_HandleTypeDef::Instance, IS_RTC_SHIFT_ADD1S, IS_RTC_SHIFT_SUBFS, RTC_TIMEOUT_VALUE, and __RTC_HandleTypeDef::State.
 1.7.6.1
 1.7.6.1