Lines Matching full:us
74 * @param us Time in microseconds to check
76 #define NRFX_SYSTICK_ASSERT_TIMEOUT(us) \ argument
77 NRFX_ASSERT(us <= (NRFX_SYSTICK_TICKS_MAX / ((SystemCoreClock) / NRFX_SYSTICK_US)));
84 * @param us Number of microseconds
90 static inline uint32_t nrfx_systick_us_tick(uint32_t us) in nrfx_systick_us_tick() argument
92 return us * ((SystemCoreClock) / NRFX_SYSTICK_US); in nrfx_systick_us_tick()
100 * @param us Number of milliseconds
125 bool nrfx_systick_test(nrfx_systick_state_t const * p_state, uint32_t us) in nrfx_systick_test() argument
127 NRFX_SYSTICK_ASSERT_TIMEOUT(us); in nrfx_systick_test()
130 return (diff >= nrfx_systick_us_tick(us)); in nrfx_systick_test()
144 void nrfx_systick_delay_us(uint32_t us) in nrfx_systick_delay_us() argument
146 NRFX_SYSTICK_ASSERT_TIMEOUT(us); in nrfx_systick_delay_us()
147 nrfx_systick_delay_ticks(nrfx_systick_us_tick(us)); in nrfx_systick_delay_us()