Home
last modified time | relevance | path

Searched refs:window (Results 1 – 25 of 149) sorted by relevance

123456

/Zephyr-Core-2.7.6/boards/posix/native_posix/
Dsdl_events.c18 SDL_Window *window; in sdl_handle_window_event() local
21 switch (event->window.event) { in sdl_handle_window_event()
24 window = SDL_GetWindowFromID(event->window.windowID); in sdl_handle_window_event()
25 if (window == NULL) { in sdl_handle_window_event()
29 renderer = SDL_GetRenderer(window); in sdl_handle_window_event()
/Zephyr-Core-2.7.6/drivers/watchdog/
Dwdt_sam0.c144 uint32_t window, per; in wdt_sam0_install_timeout() local
157 if (cfg->window.max == 0) { in wdt_sam0_install_timeout()
162 per = wdt_sam0_timeout_to_wdt_period(cfg->window.max); in wdt_sam0_install_timeout()
168 if (cfg->window.min) { in wdt_sam0_install_timeout()
170 window = wdt_sam0_timeout_to_wdt_period(cfg->window.min); in wdt_sam0_install_timeout()
171 if (window > WDT_CONFIG_PER_8K_Val) { in wdt_sam0_install_timeout()
175 if (per <= window) { in wdt_sam0_install_timeout()
177 per = window + 1; in wdt_sam0_install_timeout()
194 window = WDT_CONFIG_PER_8_Val; in wdt_sam0_install_timeout()
203 WDT_REGS->CONFIG.reg = WDT_CONFIG_WINDOW(window) | WDT_CONFIG_PER(per); in wdt_sam0_install_timeout()
Dwdt_gecko.c70 static int wdt_gecko_convert_window(uint32_t window, uint32_t period) in wdt_gecko_convert_window() argument
82 if (window > comp_val) { in wdt_gecko_convert_window()
156 if ((cfg->window.max < wdt_gecko_get_timeout_from_persel(0)) || in wdt_gecko_install_timeout()
157 (cfg->window.max > wdt_gecko_get_timeout_from_persel( in wdt_gecko_install_timeout()
168 wdt_gecko_get_persel_from_timeout(cfg->window.max); in wdt_gecko_install_timeout()
174 if (cfg->window.min > 0) { in wdt_gecko_install_timeout()
179 wdt_gecko_convert_window(cfg->window.min, in wdt_gecko_install_timeout()
Dwdt_nrfx.c84 if (cfg->window.min != 0U) { in wdt_nrf_install_timeout()
95 if ((cfg->window.max == 0U) || (cfg->window.max > 0x07CFFFFF)) { in wdt_nrf_install_timeout()
100 get_dev_data(dev)->m_timeout = cfg->window.max; in wdt_nrf_install_timeout()
101 } else if (cfg->window.max != get_dev_data(dev)->m_timeout) { in wdt_nrf_install_timeout()
DKconfig.it8xxx217 This option defines the window in which a watchdog event must be
18 handled. After this time window, the watchdog reset triggers
DKconfig.npcx20 This option defines the window in which a watchdog event must be
21 handled, in units of 31ms. After this time window, the watchdog reset
Dwdt_npcx.c178 if (cfg->window.min != 0) { in wdt_npcx_install_timeout()
189 if (cfg->window.max > NPCX_WDT_MAX_WND_TIME || cfg->window.max == 0) { in wdt_npcx_install_timeout()
195 data->timeout = cfg->window.max; in wdt_npcx_install_timeout()
Dwdt_mcux_wwdt.c97 MSEC_TO_WWDT_TICKS(clock_freq, cfg->window.max); in mcux_wwdt_install_timeout()
99 if (cfg->window.min) { in mcux_wwdt_install_timeout()
101 MSEC_TO_WWDT_TICKS(clock_freq, cfg->window.min); in mcux_wwdt_install_timeout()
Dwdt_mcux_wdog.c88 data->wdog_config.timeoutValue = clock_freq * cfg->window.max / 1000U; in mcux_wdog_install_timeout()
90 if (cfg->window.min) { in mcux_wdog_install_timeout()
93 clock_freq * cfg->window.min / 1000U; in mcux_wdog_install_timeout()
Dwdt_mcux_wdog32.c107 MSEC_TO_WDOG32_TICKS(clock_freq, div, cfg->window.max); in mcux_wdog32_install_timeout()
109 if (cfg->window.min) { in mcux_wdog32_install_timeout()
112 MSEC_TO_WDOG32_TICKS(clock_freq, div, cfg->window.min); in mcux_wdog32_install_timeout()
Dwdt_mchp_xec.c86 if (config->window.min > 0U) { in wdt_xec_install_timeout()
113 wdt_regs->LOAD = config->window.max; in wdt_xec_install_timeout()
/Zephyr-Core-2.7.6/doc/_static/js/
Dga-tracker.js7 window.dataLayer = window.dataLayer || [];
/Zephyr-Core-2.7.6/samples/subsys/logging/logger/src/
Dmain.c221 uint32_t window = 2U; in performance_showcase() local
245 } while (current_timestamp < (start_timestamp + window)); in performance_showcase()
255 if (window >= 2) { in performance_showcase()
256 window /= 2; in performance_showcase()
261 window *= 2; in performance_showcase()
267 per_sec = (cnt * timestamp_freq()) / window; in performance_showcase()
/Zephyr-Core-2.7.6/tests/drivers/watchdog/wdt_basic_api/src/
Dtest_wdt.c196 m_cfg_wdt0.window.max = WDT_TEST_MAX_WINDOW; in test_wdt_no_callback()
242 m_cfg_wdt0.window.max = WDT_TEST_MAX_WINDOW; in test_wdt_callback_1()
298 m_cfg_wdt0.window.max = WDT_TEST_MAX_WINDOW; in test_wdt_callback_2()
308 m_cfg_wdt1.window.max = WDT_TEST_MAX_WINDOW; in test_wdt_callback_2()
346 m_cfg_wdt0.window.max = 0U; in test_wdt_bad_window_max()
/Zephyr-Core-2.7.6/samples/sensor/adt7420/
DREADME.rst13 sample maintains a |plusminus| 1 |deg| C window around a recent
14 temperature. As soon as the temperature goes outside the window an
16 upper and lower window boundaries.
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Dscan.c195 static int start_le_scan_legacy(uint8_t scan_type, uint16_t interval, uint16_t window) in start_le_scan_legacy() argument
210 set_param.window = sys_cpu_to_le16(window); in start_le_scan_legacy()
249 uint16_t interval, window; in start_passive_scan() local
253 window = BT_GAP_SCAN_FAST_WINDOW; in start_passive_scan()
256 window = CONFIG_BT_BACKGROUND_SCAN_WINDOW; in start_passive_scan()
265 scan.window = sys_cpu_to_le16(window); in start_passive_scan()
270 return start_le_scan_legacy(BT_HCI_LE_SCAN_PASSIVE, interval, window); in start_passive_scan()
961 if (param->window < 0x0004 || param->window > 0x4000) { in valid_le_scan_param()
965 if (param->window > param->interval) { in valid_le_scan_param()
1021 param_1m.window = sys_cpu_to_le16(param->window); in bt_le_scan_start()
[all …]
/Zephyr-Core-2.7.6/drivers/display/
Ddisplay_sdl.c19 SDL_Window *window; member
53 disp_data->window = in sdl_display_init()
57 if (disp_data->window == NULL) { in sdl_display_init()
63 SDL_CreateRenderer(disp_data->window, -1, SDL_RENDERER_ACCELERATED); in sdl_display_init()
400 if (sdl_display_data.window != NULL) { in sdl_display_cleanup()
401 SDL_DestroyWindow(sdl_display_data.window); in sdl_display_cleanup()
402 sdl_display_data.window = NULL; in sdl_display_cleanup()
/Zephyr-Core-2.7.6/samples/sensor/mcp9808/
DREADME.rst13 maintains a |plusminus| 2 |deg| C window around the current temperature.
14 When the temperature moves outside the window an alert is given, and the
15 window is moved to center on the new temperature.
/Zephyr-Core-2.7.6/tests/drivers/timer/nrf_rtc_timer/src/
Dmain.c13 uint32_t window; member
67 (cc_value <= (data->cc_val + data->window))) { in timeout_handler()
78 .window = ext_window ? 100 : (Z_TICK_ABS(t.ticks) ? 0 : 32), in test_timeout()
137 .window = 1000, in test_int_disable_enabled()
308 .window = 0, in test_reseting_cc()
/Zephyr-Core-2.7.6/samples/drivers/watchdog/src/
Dmain.c101 .window.min = 0U, in main()
102 .window.max = WDT_MAX_WINDOW, in main()
/Zephyr-Core-2.7.6/doc/guides/networking/
Dqemu_802154_setup.rst19 * Terminal #1 is terminal window with ``echo-server`` Zephyr sample application.
20 * Terminal #2 is terminal window with ``echo-client`` Zephyr sample application.
25 Open a terminal window and type:
/Zephyr-Core-2.7.6/tests/drivers/watchdog/wdt_basic_api/boards/
Ddisco_l475_iot1.overlay2 /* Reduce APB1 speed to achieve test window timings */
Dnucleo_f091rc.overlay8 /* Reduce APB1 speed to achieve test window timings */
Dnucleo_g431rb.overlay8 /* Reduce APB1 speed to achieve test window timings */
/Zephyr-Core-2.7.6/doc/reference/usb/
Duds_testing.rst19 In a terminal window, run the following command to list USB devices:
32 In a terminal window, run the following command to attach the USB device:

123456