Important note: Care must be taken when HAL_RCCEx_PeriphCLKConfig() is
used to select the RTC clock source; in this case the Backup domain will be reset
in order to modify the RTC Clock source, as consequence RTC registers
(including the backup registers) and RCC_BDCR register are set to their reset
values.
This section contains the following APIs:
HAL_RCCEx_PeriphCLKConfig()
HAL_RCCEx_GetPeriphCLKConfig()
37.2.2 Detailed description of functions
HAL_RCCEx_PeriphCLKConfig
HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig
(RCC_PeriphCLKInitTypeDef * PeriphClkInit)
Initializes the RCC extended peripherals clocks according to the
specified parameters in the RCC_PeriphCLKInitTypeDef.
PeriphClkInit: pointer to an RCC_PeriphCLKInitTypeDef
structure that contains the configuration information for the
Extended Peripherals clocks(I2S and RTC clocks).
A caution to be taken when HAL_RCCEx_PeriphCLKConfig()
is used to select RTC clock selection, in this case the Reset
of Backup domain will be applied in order to modify the RTC
Clock source as consequence all backup domain (RTC and
RCC_BDCR register expect BKPSRAM) will be reset
HAL_RCCEx_GetPeriphCLKConfig
void HAL_RCCEx_GetPeriphCLKConfig
(RCC_PeriphCLKInitTypeDef * PeriphClkInit)
Configures the RCC_OscInitStruct according to the internal RCC
configuration registers.
PeriphClkInit: pointer to an RCC_PeriphCLKInitTypeDef
structure that will be configured.
37.3 RCCEx Firmware driver defines
37.3.1 RCCEx
AHB1 Peripheral Clock Enable Disable
__HAL_RCC_ETHMAC_CLK_ENABLE
__HAL_RCC_ETHMACTX_CLK_ENABLE
__HAL_RCC_ETHMACRX_CLK_ENABLE
__HAL_RCC_ETHMACPTP_CLK_ENABLE