|
STM32F103xB HAL User Manual
|
Extended 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_SetSmoothCalib (RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmouthCalibMinusPulsesValue) |
| Sets the Smooth calibration parameters. | |
Extended Peripheral Control functions.
===============================================================================
##### Extension Peripheral Control functions #####
===============================================================================
[..]
This subsection provides functions allowing to
(+) Writes a data in a specified RTC Backup data register
(+) Read a data in a specified RTC Backup data register
(+) Sets the Smooth calibration parameters.
| 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 1 to 10 (or 42) to specify the register (depending devices). |
| Read | value |
Definition at line 499 of file stm32f1xx_hal_rtc_ex.c.
References assert_param, 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 1 to 10 (or 42) to specify the register (depending devices). |
| Data,: | Data to be written in the specified RTC Backup data register. |
| None |
Definition at line 474 of file stm32f1xx_hal_rtc_ex.c.
References assert_param, and IS_RTC_BKP.
| HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib | ( | RTC_HandleTypeDef * | hrtc, |
| uint32_t | SmoothCalibPeriod, | ||
| uint32_t | SmoothCalibPlusPulses, | ||
| uint32_t | SmouthCalibMinusPulsesValue | ||
| ) |
Sets the Smooth calibration parameters.
| hrtc,: | RTC handle |
| SmoothCalibPeriod,: | Not used (only present for compatibility with another families) |
| SmoothCalibPlusPulses,: | Not used (only present for compatibility with another families) |
| SmouthCalibMinusPulsesValue,: | specifies the RTC Clock Calibration value. This parameter must be a number between 0 and 0x7F. |
| HAL | status |
Definition at line 529 of file stm32f1xx_hal_rtc_ex.c.
References assert_param, HAL_RTC_STATE_BUSY, HAL_RTC_STATE_READY, IS_RTC_SMOOTH_CALIB_MINUS, and __RTC_HandleTypeDef::State.
1.7.6.1