This header file provides errata SSWF021#45 interfaces.
More...
#include <stdint.h>
Go to the source code of this file.
|
uint32_t | _errata_SSWF021_45_both_plls (uint32_t count) |
| This handles the errata for PLL1 and PLL2. This function is called in device startup.
|
|
uint32_t | _errata_SSWF021_45_pll1 (uint32_t count) |
| This handles the errata for PLL1. This function is called in device startup.
|
|
uint32_t | _errata_SSWF021_45_pll2 (uint32_t count) |
| This handles the errata for PLL2. This function is called in device startup.
|
|
This header file provides errata SSWF021#45 interfaces.
Pulled in from Halcogen v4.7.1. This is a rare but high-severity errata that should always be checked for at system start.
◆ _errata_SSWF021_45_both_plls()
uint32_t _errata_SSWF021_45_both_plls |
( |
uint32_t |
count | ) |
|
This handles the errata for PLL1 and PLL2. This function is called in device startup.
- Parameters
-
[in] | count | : Number of retries until both PLLs are locked successfully Minimum value recommended is 5 |
- Returns
- 0 = Success (the PLL or both PLLs have successfully locked and then been disabled) 1 = PLL1 failed to successfully lock in "count" tries 2 = PLL2 failed to successfully lock in "count" tries 3 = Neither PLL1 nor PLL2 successfully locked in "count" tries 4 = The workaround function was not able to disable at least one of the PLLs. The most likely reason is that a PLL is already being used as a clock source. This can be caused by the workaround function being called from the wrong place in the code.
◆ _errata_SSWF021_45_pll1()
uint32_t _errata_SSWF021_45_pll1 |
( |
uint32_t |
count | ) |
|
This handles the errata for PLL1. This function is called in device startup.
- Parameters
-
[in] | count | : Number of retries until both PLL1 is locked successfully Minimum value recommended is 5 |
- Returns
- 0 = Success (the PLL or both PLLs have successfully locked and then been disabled) 1 = PLL1 failed to successfully lock in "count" tries 2 = PLL2 failed to successfully lock in "count" tries 3 = Neither PLL1 nor PLL2 successfully locked in "count" tries 4 = The workaround function was not able to disable at least one of the PLLs. The most likely reason is that a PLL is already being used as a clock source. This can be caused by the workaround function being called from the wrong place in the code.
◆ _errata_SSWF021_45_pll2()
uint32_t _errata_SSWF021_45_pll2 |
( |
uint32_t |
count | ) |
|
This handles the errata for PLL2. This function is called in device startup.
- Parameters
-
[in] | count | : Number of retries until PLL2 is locked successfully Minimum value recommended is 5 |
- Returns
- 0 = Success (the PLL or both PLLs have successfully locked and then been disabled) 1 = PLL1 failed to successfully lock in "count" tries 2 = PLL2 failed to successfully lock in "count" tries 3 = Neither PLL1 nor PLL2 successfully locked in "count" tries 4 = The workaround function was not able to disable at least one of the PLLs. The most likely reason is that a PLL is already being used as a clock source. This can be caused by the workaround function being called from the wrong place in the code.