Skip to content

Commit cb53116

Browse files
committed
Add watchdog clock accuracy to Cypress targets.
1 parent 36d010d commit cb53116

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/cy_watchdog_api.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ uint32_t hal_watchdog_get_reload_value(void)
6767
watchdog_features_t hal_watchdog_get_platform_features(void)
6868
{
6969
watchdog_features_t features = {
70-
/* .max_timeout = */ cyhal_wdt_get_max_timeout_ms(),
71-
/* .update_config = */ true,
72-
/* .disable_watchdog = */ true
70+
/* .max_timeout = */ cyhal_wdt_get_max_timeout_ms(),
71+
/* .update_config = */ true,
72+
/* .disable_watchdog = */ true,
73+
/* .clock_typical_frequency = */ 32000,
74+
/* .clock_max_frequency = */ 36100
7375
};
7476
return features;
7577
}

0 commit comments

Comments
 (0)