/Zephyr-latest/tests/kernel/timer/timer_api/src/ |
D | main.c | 17 #define DURATION 100 macro 46 * duration in microseconds. 120 TIMER_ASSERT(interval_check(interval, DURATION), timer); in duration_expire() 172 * @brief Test duration and period of Timer 174 * Validates initial duration and period of timer. 177 * using k_timer_start() with specific initial duration and period. 179 * of duration and period. 190 k_timer_start(&duration_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER() 191 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in ZTEST_USER() 206 * @details Validates initial duration and period of timer. Start the timer with [all …]
|
/Zephyr-latest/drivers/serial/ |
D | Kconfig.nxp_s32 | 18 int "The maximum duration to transfer a byte data in blocking mode" 21 Maximum duration in micro-seconds to transfer a byte data in blocking mode. 24 int "The maximum duration to receive a byte data in blocking mode" 27 Maximum duration in micro-seconds to receive a byte data in blocking mode.
|
/Zephyr-latest/tests/benchmarks/footprints/src/ |
D | timer.c | 12 #define DURATION 100 macro 60 k_timer_start(&timer0, K_MSEC(DURATION), K_MSEC(PERIOD)); in thread_fn() 62 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in thread_fn() 66 k_timer_start(&timer0, K_MSEC(DURATION), K_MSEC(PERIOD)); in thread_fn() 72 busy_wait_ms(DURATION / 2); in thread_fn() 73 k_timer_start(&timer0, K_MSEC(DURATION), K_MSEC(PERIOD)); in thread_fn() 75 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in thread_fn()
|
/Zephyr-latest/drivers/display/ |
D | mb_display.c | 51 int32_t duration; /* Duration for each shown image */ member 106 LOG_DBG("Image duration %d", disp->duration); in update_content() 107 if (disp->duration != SYS_FOREVER_MS) { in update_content() 108 k_work_reschedule(&disp->dwork, K_MSEC(disp->duration)); in update_content() 260 static int start_scroll(struct mb_display *disp, int32_t duration) in start_scroll() argument 262 /* Divide total duration by number of scrolling steps */ in start_scroll() 263 if (duration) { in start_scroll() 264 disp->duration = duration / scroll_steps(disp); in start_scroll() 266 disp->duration = SCROLL_DEFAULT_DURATION_MS; in start_scroll() 275 static int start_single(struct mb_display *disp, int32_t duration) in start_single() argument [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | st,stm32-fmc-nor-psram.yaml | 133 * ADDSET - Address setup phase duration. 134 Number of HCLK cycles to configure the duration of 138 * ADDHLD - Address-hold phase duration. 139 Number of HCLK cycles to configure the duration of 143 * DATAST - Data-phase duration. 144 Number of HCLK cycles to configure the duration of 149 * BUSTURN - Bus turnaround phase duration. 150 Number of HCLK cycles to configure the duration of 180 * ADDSET - Address setup phase duration. 182 * ADDHLD - Address-hold phase duration. [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | adv_legacy.c | 53 uint16_t duration; in bt_data_send() local 67 * compensate with scan window duration. in bt_data_send() 70 * advertising interval to the total advertising duration. in bt_data_send() 72 duration = adv_int + num_events * (adv_int + 10); in bt_data_send() 77 * being transmitted. Increase the advertising duration by the in bt_data_send() 78 * amount of scan window duration to compensate for the blocked in bt_data_send() 82 duration += BT_MESH_SCAN_WINDOW_MS; in bt_data_send() 85 LOG_DBG("count %u interval %ums duration %ums", in bt_data_send() 86 num_events, adv_int, duration); in bt_data_send() 105 LOG_DBG("Advertising started. Sleeping %u ms", duration); in bt_data_send() [all …]
|
D | proxy_srv.c | 493 uint8_t hash[16], int32_t duration) in enc_id_adv() argument 535 duration, enc_id_ad, ARRAY_SIZE(enc_id_ad), in enc_id_adv() 546 static int node_id_adv(struct bt_mesh_subnet *sub, int32_t duration) in node_id_adv() argument 563 return enc_id_adv(sub, BT_MESH_ID_TYPE_NODE, tmp, duration); in node_id_adv() 566 static int priv_node_id_adv(struct bt_mesh_subnet *sub, int32_t duration) in priv_node_id_adv() argument 584 return enc_id_adv(sub, BT_MESH_ID_TYPE_PRIV_NODE, tmp, duration); in priv_node_id_adv() 587 static int priv_net_id_adv(struct bt_mesh_subnet *sub, int32_t duration) in priv_net_id_adv() argument 603 return enc_id_adv(sub, BT_MESH_ID_TYPE_PRIV_NET, tmp, duration); in priv_net_id_adv() 606 static int net_id_adv(struct bt_mesh_subnet *sub, int32_t duration) in net_id_adv() argument 628 err = bt_mesh_adv_gatt_start(&slow_adv_param, duration, net_id_ad, in net_id_adv() [all …]
|
/Zephyr-latest/dts/bindings/bluetooth/ |
D | renesas,bt-hci-da1453x.yaml | 18 reset-assert-duration-ms: 21 Minimum duration to activate the reset-gpios pin. 24 boot-duration-ms:
|
D | zephyr,bt-hci-spi.yaml | 21 reset-assert-duration-ms: 24 Minimum duration to hold the reset-gpios pin low for. 31 Duration to delay between reading a valid header and transceiving the data
|
/Zephyr-latest/samples/subsys/zbus/benchmark/ |
D | benchmark_256KB.robot | 56 ${duration} Evaluate ${total}/3.0 57 RETURN ${duration} 66 ${duration} Measure Results 67 RETURN ${duration} 79 ${duration} Benchmark 92 ... ${duration}
|
D | sample.yaml | 16 - "I: Duration: (\\d+).(\\d+)s" 38 - "I: Duration: (\\d+).(\\d+)s" 60 - "I: Duration: (\\d+).(\\d+)s"
|
/Zephyr-latest/dts/bindings/display/panel/ |
D | panel-timing.yaml | 43 Horizontal synchronization pulse duration of panel driven by this 50 Vertical synchronization pulse duration of panel driven by this 57 Horizontal back porch duration of panel driven by this controller, 64 Vertical back porch duration of panel driven by this controller, in lines 70 Horizontal front porch duration of panel driven by this controller, 77 Vertical front porch duration of panel driven by this controller, in lines
|
/Zephyr-latest/tests/kernel/common/src/ |
D | clock.c | 28 #define DURATION 100 macro 197 * @brief Test millisecond time duration 199 * @details initialize a timer, then providing time duration in 200 * millisecond, and check the duration time whether correct. 211 k_timer_start(&ktimer, K_MSEC(DURATION), K_NO_WAIT); in ZTEST() 213 /** TESTPOINT: waiting time less than duration and check the count*/ in ZTEST() 218 /** TESTPOINT: proving duration in millisecond */ in ZTEST() 222 /** TESTPOINT: waiting time more than duration and check the count */ in ZTEST() 224 k_busy_wait((DURATION + 1) * 1000); in ZTEST() 225 zassert_true(tdata.duration_count == 1, "duration %u not 1", in ZTEST()
|
/Zephyr-latest/tests/boards/espressif/wifi/ |
D | Kconfig | 59 Timeout duration for Wi-Fi scanning. 66 Timeout duration for connecting to Wi-Fi network. 73 Timeout duration for disconnecting from Wi-Fi network. 80 Timeout duration for pinging the network gateway.
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,lis2dw12-common.yaml | 14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>; 199 ff-duration: 203 The freefall duration value represented in milliseconds. 205 than the freefall threshold value for the freefall duration long, 210 100Hz ODR and 30ms ff-duration for recognize freefall detection 219 than the freefall threshold value for the freefall duration long, 234 wakeup-duration: 238 The wakeup duration. Default value is the register reset value. 240 than the wakeup threshold value for the wakeup duration long, 251 sleep-duration: [all …]
|
D | rohm,bh1750.yaml | 32 Duration of single measurement process. 33 The greater the value, the longer the duration
|
D | memsic,mmc56x3.yaml | 24 Adjust length of decimation filter. Controls duration of each measurement. 30 Adjust length of decimation filter. Controls duration of each measurement.
|
/Zephyr-latest/tests/boards/espressif/ethernet/ |
D | Kconfig | 12 Timeout duration for receiving IPv4 address from DHCP. 19 Timeout duration for pinging the network gateway.
|
/Zephyr-latest/dts/bindings/flash_controller/ |
D | st,stm32-qspi-nor.yaml | 14 reset-gpios-duration = <1>; 36 reset-gpios-duration: 38 description: The duration (in ms) for the flash memory reset pulse 45 description: The duration (in us) to wait after reset command
|
/Zephyr-latest/tests/lib/c_lib/thrd/src/ |
D | thrd.c | 22 struct timespec duration = {0}; in ZTEST() local 27 zassert_ok(thrd_sleep(&duration, NULL)); in ZTEST() 28 zassert_ok(thrd_sleep(&duration, &duration)); in ZTEST() 31 duration = (struct timespec){.tv_nsec = delay_ms[i] * NSEC_PER_MSEC}; in ZTEST() 36 zassert_ok(thrd_sleep(&duration, &remaining)); in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_scan_internal.h | 15 /* Convert period in 1.28 s units to duration of 10 ms units*/ 20 /* Convert duration in 10 ms unit to radio events count */ 21 #define ULL_SCAN_DURATION_TO_EVENTS(duration, interval) \ argument 22 (((uint32_t)(duration) * EXT_SCAN_DURATION_UNIT_US / \
|
/Zephyr-latest/include/zephyr/display/ |
D | mb_display.h | 127 * @param duration Duration how long to show each image (in milliseconds), or 132 void mb_display_image(struct mb_display *disp, uint32_t mode, int32_t duration, 147 * @param duration Duration how long to show each character (in milliseconds), 153 uint32_t mode, int32_t duration,
|
/Zephyr-latest/kernel/ |
D | timer.c | 139 void z_impl_k_timer_start(struct k_timer *timer, k_timeout_t duration, in z_impl_k_timer_start() argument 142 SYS_PORT_TRACING_OBJ_FUNC(k_timer, start, timer, duration, period); in z_impl_k_timer_start() 151 if (K_TIMEOUT_EQ(duration, K_FOREVER)) { in z_impl_k_timer_start() 163 * Note that the duration (!) value gets the same treatment in z_impl_k_timer_start() 169 if (Z_TICK_ABS(duration.ticks) < 0) { in z_impl_k_timer_start() 170 duration.ticks = MAX(duration.ticks - 1, 0); in z_impl_k_timer_start() 178 duration); in z_impl_k_timer_start() 185 k_timeout_t duration, in z_vrfy_k_timer_start() argument 189 z_impl_k_timer_start(timer, duration, period); in z_vrfy_k_timer_start()
|
/Zephyr-latest/include/zephyr/drivers/sensor/ |
D | mmc56x3.h | 27 * Adjust length of decimation filter. Controls duration of 34 * Adjust length of decimation filter. Controls duration of
|
/Zephyr-latest/include/zephyr/dt-bindings/sensor/ |
D | lis2dw12.h | 36 /* wakeup duration */ 42 /* sleep duration */
|