Lines Matching refs:wdog_config
38 wdog32_config_t wdog_config; member
53 data->wdog_config.workMode.enableStop = in mcux_wdog32_setup()
56 data->wdog_config.workMode.enableDebug = in mcux_wdog32_setup()
59 WDOG32_Init(base, &data->wdog_config); in mcux_wdog32_setup()
110 WDOG32_GetDefaultConfig(&data->wdog_config); in mcux_wdog32_install_timeout()
112 data->wdog_config.timeoutValue = in mcux_wdog32_install_timeout()
116 data->wdog_config.enableWindowMode = true; in mcux_wdog32_install_timeout()
117 data->wdog_config.windowValue = in mcux_wdog32_install_timeout()
120 data->wdog_config.enableWindowMode = false; in mcux_wdog32_install_timeout()
121 data->wdog_config.windowValue = 0; in mcux_wdog32_install_timeout()
124 if ((data->wdog_config.timeoutValue < MIN_TIMEOUT) || in mcux_wdog32_install_timeout()
125 (data->wdog_config.timeoutValue < data->wdog_config.windowValue)) { in mcux_wdog32_install_timeout()
130 data->wdog_config.prescaler = config->clk_divider; in mcux_wdog32_install_timeout()
131 data->wdog_config.clockSource = config->clk_source; in mcux_wdog32_install_timeout()
132 data->wdog_config.enableInterrupt = cfg->callback != NULL; in mcux_wdog32_install_timeout()
136 data->wdog_config.timeoutValue); in mcux_wdog32_install_timeout()