Home
last modified time | relevance | path

Searched refs:ticks (Results 1 – 11 of 11) sorted by relevance

/hal_nordic-latest/nrfx/drivers/src/
Dnrfx_systick.c135 void nrfx_systick_delay_ticks(uint32_t ticks) in nrfx_systick_delay_ticks() argument
137 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()
Dnrfx_rtc.c266 uint32_t ticks; in nrfx_rtc_max_ticks_get() local
269 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()
Dnrfx_timer.c281 uint64_t ticks = (((uint64_t)time_us * freq_base_mhz) >> prescaler); in nrfx_timer_us_to_ticks() local
282 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() local
290 return (uint32_t)ticks; in nrfx_timer_ms_to_ticks()
Dnrfx_wdt.c66 uint64_t ticks = (p_config->reload_value * 32768ULL) / 1000; in wdt_configure() local
67 NRFX_ASSERT(ticks <= UINT32_MAX); in wdt_configure()
71 .reload_value = (uint32_t)ticks, in wdt_configure()
/hal_nordic-latest/drivers/nrf_802154/sl/include/
Dnrf_802154_sl_utils.h64 #define NRF_802154_SL_RTC_TICKS_TO_US(ticks) \ argument
66 (ticks) * (NRF_802154_SL_US_PER_S >> NRF_802154_SL_FREQUENCY_US_PER_S_GCD_BITS), \
/hal_nordic-latest/drivers/nrf_802154/driver/src/
Dnrf_802154_utils.h67 #define NRF_802154_RTC_TICKS_TO_US(ticks) \ argument
69 (ticks) * (NRF_802154_US_PER_S >> NRF_802154_FREQUENCY_US_PER_S_GCD_BITS), \
/hal_nordic-latest/drivers/nrf_802154/sl/sl_opensource/src/
Dnrf_802154_sl_timer.c80 int64_t ticks = k_uptime_ticks(); in nrf_802154_sl_timer_current_time_get() local
82 return k_ticks_to_us_ceil64(ticks); in nrf_802154_sl_timer_current_time_get()
/hal_nordic-latest/nrfx/hal/
Dnrf_timer.h979 uint64_t ticks = ((time_us * 16ULL) >> prescaler); in nrf_timer_us_to_ticks() local
980 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() local
991 NRFX_ASSERT(ticks <= UINT32_MAX); in nrf_timer_ms_to_ticks()
992 return (uint32_t)ticks; in nrf_timer_ms_to_ticks()
/hal_nordic-latest/nrfx/drivers/include/
Dnrfx_systick.h104 void nrfx_systick_delay_ticks(uint32_t ticks);
/hal_nordic-latest/nrfx/samples/src/nrfx_timer/counter/
DREADME.md41 - "Time between timer ticks: 1000 ms"
/hal_nordic-latest/nrfx/
DCHANGELOG.md643 - Fixed a bug affecting the conversion of time to ticks in the TIMER HAL.