Lines Matching refs:wdog_config
30 wdog_config_t wdog_config; member
45 data->wdog_config.workMode.enableStop = in mcux_wdog_setup()
48 data->wdog_config.workMode.enableDebug = in mcux_wdog_setup()
51 WDOG_Init(base, &data->wdog_config); in mcux_wdog_setup()
92 WDOG_GetDefaultConfig(&data->wdog_config); in mcux_wdog_install_timeout()
94 data->wdog_config.timeoutValue = clock_freq * cfg->window.max / 1000U; in mcux_wdog_install_timeout()
97 data->wdog_config.enableWindowMode = true; in mcux_wdog_install_timeout()
98 data->wdog_config.windowValue = in mcux_wdog_install_timeout()
101 data->wdog_config.enableWindowMode = false; in mcux_wdog_install_timeout()
102 data->wdog_config.windowValue = 0; in mcux_wdog_install_timeout()
105 if ((data->wdog_config.timeoutValue < MIN_TIMEOUT) || in mcux_wdog_install_timeout()
106 (data->wdog_config.timeoutValue < data->wdog_config.windowValue)) { in mcux_wdog_install_timeout()
111 data->wdog_config.clockSource = kWDOG_LpoClockSource; in mcux_wdog_install_timeout()
112 data->wdog_config.enableInterrupt = cfg->callback != NULL; in mcux_wdog_install_timeout()