API Reference | |
| CSV Clock Supervisor | |
| Functional self-test for the CLK_HF CSV (Clock Supervisor) comparators. | |
| Functions | |
Data Structures | |
| struct | stl_clock_csv_entry_t |
| CSV self-test entry. More... | |
Macros | |
| #define | STL_CLOCK_SOURCE_HFCLOCK (3u) |
| High-frequency clock source selection used by the Clock self-test timer on PSOC Control C3 devices. | |
| #define | CLOCK_TICKS_LO (20u) |
| Lower possible clock count for WDT depending on the accuracy of oscillator. | |
| #define | CLOCK_TICKS_HI (80u) |
| Higher possible clock count for WDT depending on the accuracy of oscillator. | |
| #define | CLOCK_TEST_TIME (1000u) |
| Clock self-test interval in microseconds. | |
| #define | CLOCK_TEST_TIME_TIMER_PERIOD (((CY_CFG_SYSCLK_IMO_FREQ_HZ/(1000000uL)) * (CLOCK_TEST_TIME)) / CLOCK_TEST_TIMER_CLK_DIV) |
| Number of timer/source-clock cycles corresponding to CLOCK_TEST_TIME. | |
| struct stl_clock_csv_entry_t |
| #define CLOCK_TICKS_LO (20u) |
Lower possible clock count for WDT depending on the accuracy of oscillator.
| #define CLOCK_TICKS_HI (80u) |
Higher possible clock count for WDT depending on the accuracy of oscillator.
| #define CLOCK_TEST_TIME_TIMER_PERIOD (((CY_CFG_SYSCLK_IMO_FREQ_HZ/(1000000uL)) * (CLOCK_TEST_TIME)) / CLOCK_TEST_TIMER_CLK_DIV) |
Number of timer/source-clock cycles corresponding to CLOCK_TEST_TIME.
This macro is used on PSOC 4 devices. PSOC 61 Programmable Line, PSOC 62 Performance Line, PSOC Control C3, XMC7000, and XMC5000 devices calculate the equivalent period at runtime from the peripheral or high-frequency clock and its divider.