Home
last modified time | relevance | path

Searched refs:wdog_config (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/watchdog/
Dwdt_mcux_wdog.c30 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()
[all …]
Dwdt_mcux_wdog32.c38 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()
[all …]
Dwdt_gecko.c41 WDOG_Init_TypeDef wdog_config; member
101 data->wdog_config.em2Run = in wdt_gecko_setup()
103 data->wdog_config.em3Run = in wdt_gecko_setup()
106 data->wdog_config.debugRun = in wdt_gecko_setup()
121 WDOGn_Init(wdog, &data->wdog_config); in wdt_gecko_setup()
144 data->wdog_config = (WDOG_Init_TypeDef)WDOG_INIT_DEFAULT; in wdt_gecko_install_timeout()
160 data->wdog_config.clkSel = wdogClkSelULFRCO; in wdt_gecko_install_timeout()
163 data->wdog_config.perSel = (WDOG_PeriodSel_TypeDef) in wdt_gecko_install_timeout()
167 data->wdog_config.perSel); in wdt_gecko_install_timeout()
174 data->wdog_config.winSel = (WDOG_WinSel_TypeDef) in wdt_gecko_install_timeout()
[all …]
Dwdt_mcux_imx_wdog.c29 wdog_config_t wdog_config; member
44 data->wdog_config.workMode.enableStop = in mcux_wdog_setup()
47 data->wdog_config.workMode.enableDebug = in mcux_wdog_setup()
50 WDOG_Init(base, &data->wdog_config); in mcux_wdog_setup()
79 WDOG_GetDefaultConfig(&data->wdog_config); in mcux_wdog_install_timeout()
80 data->wdog_config.interruptTimeValue = 0U; in mcux_wdog_install_timeout()
87 data->wdog_config.timeoutValue = in mcux_wdog_install_timeout()
94 if (data->wdog_config.timeoutValue > 128) { in mcux_wdog_install_timeout()
99 data->wdog_config.enableInterrupt = cfg->callback != NULL; in mcux_wdog_install_timeout()