Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_bitbang.c21 int wait_us; member
58 data->wait_us = (1000000ul * 2000ul / config->frequency) / 2000ul; in spi_bitbang_configure()
59 data->wait_us /= 2; in spi_bitbang_configure()
61 data->wait_us = 8 / 2; /* 125 kHz */ in spi_bitbang_configure()
147 const uint32_t wait_us = data->wait_us; in spi_bitbang_transceive() local
183 k_busy_wait(wait_us); in spi_bitbang_transceive()
192 k_busy_wait(wait_us); in spi_bitbang_transceive()
/Zephyr-latest/drivers/sensor/st/vl53l1x/
Dvl53l1_platform.h112 VL53L1_Error VL53L1_WaitUs(VL53L1_Dev_t *pdev, int32_t wait_us);
Dvl53l1_platform.c125 VL53L1_Error VL53L1_WaitUs(VL53L1_Dev_t *pdev, int32_t wait_us) in VL53L1_WaitUs() argument
127 k_sleep(K_USEC(wait_us)); in VL53L1_WaitUs()
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c649 uint32_t wait_us = 1000 * wait_ms; in ZTEST_USER() local
651 k_busy_wait(wait_us + (wait_us * BUSY_TICK_SLEW_PPM) / PPM_DIVISOR); in ZTEST_USER()