Searched refs:ticks (Results 1 – 11 of 11) sorted by relevance
135 void nrfx_systick_delay_ticks(uint32_t ticks) in nrfx_systick_delay_ticks() argument137 NRFX_ASSERT(ticks <= NRFX_SYSTICK_TICKS_MAX); in nrfx_systick_delay_ticks()140 while ((NRF_SYSTICK_VAL_MASK & (start - nrf_systick_val_get())) < ticks) in nrfx_systick_delay_ticks()
266 uint32_t ticks; in nrfx_rtc_max_ticks_get() local269 ticks = NRF_RTC_COUNTER_MAX - m_cb[p_instance->instance_id].tick_latency; in nrfx_rtc_max_ticks_get()273 ticks = NRF_RTC_COUNTER_MAX; in nrfx_rtc_max_ticks_get()275 return ticks; in nrfx_rtc_max_ticks_get()
281 uint64_t ticks = (((uint64_t)time_us * freq_base_mhz) >> prescaler); in nrfx_timer_us_to_ticks() local282 return (uint32_t)ticks; in nrfx_timer_us_to_ticks()289 uint64_t ticks = (((uint64_t)time_ms * freq_base_khz) >> prescaler); in nrfx_timer_ms_to_ticks() local290 return (uint32_t)ticks; in nrfx_timer_ms_to_ticks()
66 uint64_t ticks = (p_config->reload_value * 32768ULL) / 1000; in wdt_configure() local67 NRFX_ASSERT(ticks <= UINT32_MAX); in wdt_configure()71 .reload_value = (uint32_t)ticks, in wdt_configure()
64 #define NRF_802154_SL_RTC_TICKS_TO_US(ticks) \ argument66 (ticks) * (NRF_802154_SL_US_PER_S >> NRF_802154_SL_FREQUENCY_US_PER_S_GCD_BITS), \
67 #define NRF_802154_RTC_TICKS_TO_US(ticks) \ argument69 (ticks) * (NRF_802154_US_PER_S >> NRF_802154_FREQUENCY_US_PER_S_GCD_BITS), \
80 int64_t ticks = k_uptime_ticks(); in nrf_802154_sl_timer_current_time_get() local82 return k_ticks_to_us_ceil64(ticks); in nrf_802154_sl_timer_current_time_get()
979 uint64_t ticks = ((time_us * 16ULL) >> prescaler); in nrf_timer_us_to_ticks() local980 NRFX_ASSERT(ticks <= UINT32_MAX); in nrf_timer_us_to_ticks()981 return (uint32_t)ticks; in nrf_timer_us_to_ticks()990 uint64_t ticks = ((time_ms * 16000ULL) >> prescaler); in nrf_timer_ms_to_ticks() local991 NRFX_ASSERT(ticks <= UINT32_MAX); in nrf_timer_ms_to_ticks()992 return (uint32_t)ticks; in nrf_timer_ms_to_ticks()
104 void nrfx_systick_delay_ticks(uint32_t ticks);
41 - "Time between timer ticks: 1000 ms"
643 - Fixed a bug affecting the conversion of time to ticks in the TIMER HAL.