5.1.3.1.2. Functional Requirements for the Clock Initialization Function
The function must enable the HSE clock source by setting the |
The function must set the |
The function must set the |
The function must enable the PLL by setting the |
The function must set the system clock to PLL by setting the |
The function must configure the |
The function must configure the |
The function must configure the |
The function must implement a timeout mechanism of 1 ms to allow for the stabilization of the HSE and PLL. |
The function shall verify that the |
If the |
The function shall verify that the |
If the |
The function shall verify that the |
The function shall call the SystemCoreClockUpdate() function. |
The error-handling mechanism must retry the failed operation up to 3 times. |
If the error-handling retry attempts fail the 3rd time, the function must return an error code indicating a clock initialization failure. |