Add watchdog clock accuracy to Cypress targets.

pull/11203/head
int_szyk 2019-09-12 09:16:11 +02:00
parent 36d010d796
commit cb5311654c
1 changed files with 5 additions and 3 deletions

View File

@ -67,9 +67,11 @@ uint32_t hal_watchdog_get_reload_value(void)
watchdog_features_t hal_watchdog_get_platform_features(void)
{
watchdog_features_t features = {
/* .max_timeout = */ cyhal_wdt_get_max_timeout_ms(),
/* .update_config = */ true,
/* .disable_watchdog = */ true
/* .max_timeout = */ cyhal_wdt_get_max_timeout_ms(),
/* .update_config = */ true,
/* .disable_watchdog = */ true,
/* .clock_typical_frequency = */ 32000,
/* .clock_max_frequency = */ 36100
};
return features;
}