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.