RCC ¶
This section provides information about the migration APIs of the HAL RCC driver.
Before digging into the details of the HAL2 changes, it is important to understand the HAL2 breaking concepts explained in Breaking changes in concepts.
The RCC clock tree is closely tied to the specific implementation of each product and can differ greatly between products. Consequently, when transitioning from one product to another, users should take into account the unique characteristics of the clock tree. This includes aspects such as oscillator naming, features of each oscillator, configuration of dividers and prescalers, as well as the features and availability of PLLs.
Important
In HAL1, the Clock Recovery System (CRS) functionality was integrated within the HAL RCC driver. However, in HAL2, the CRS feature was refactored into a separate, standalone HAL CRS driver.
- HAL RCC migration: List of applicable concepts
- HAL RCC Typical use cases for migration
- HAL RCC constants migration
- HAL RCC macro migration
- HAL RCC types migration
- HAL RCC Initialization and de-initialization functions
- HAL RCC control functions migration
- HAL RCC PLL functions migration
- HAL RCC Function services
- HAL RCC clock recovery system (CRS) function control
- HAL RCC secure attributes settings functions migration
- HAL RCC APIs listing for migration