Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 28) sorted by relevance

12

/lk-master/external/platform/lpc15xx/lpcopen/usbd_rom_hid_keyboard/example/inc/
A Dms_timer.h52 int32_t interval; /*!< Timer interval. */ member
86 static INLINE void ms_timerInit(ms_timer_t *t, int32_t interval) in ms_timerInit() argument
88 t->interval = interval; in ms_timerInit()
98 static INLINE void ms_timerInitOnly(ms_timer_t *t, int32_t interval) in ms_timerInitOnly() argument
100 t->interval = interval; in ms_timerInitOnly()
141 return (bool) (((int32_t) g_msTicks - t->start) >= t->interval); in ms_timerExpired()
/lk-master/platform/pc/
A Dtimer.c44 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
48 next_trigger_delta = (uint64_t) interval << 32; in platform_set_periodic_timer()
149 void *arg, lk_time_t interval) { in platform_set_oneshot_timer() argument
160 if (interval > MAX_TIMER_INTERVAL) in platform_set_oneshot_timer()
161 interval = MAX_TIMER_INTERVAL; in platform_set_oneshot_timer()
162 if (interval < 1) interval = 1; in platform_set_oneshot_timer()
164 count = ticks_per_ms * interval; in platform_set_oneshot_timer()
/lk-master/dev/timer/arm_cortex_a9/
A Darm_cortex_a9_timer.c98 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
99 LTRACEF("callback %p, arg %p, interval %u\n", callback, arg, interval); in platform_set_periodic_timer()
101 uint64_t ticks = u64_mul_u64_fp32_64(interval, timer_freq_msec_conversion); in platform_set_periodic_timer()
112 periodic_interval = interval; in platform_set_periodic_timer()
125 …us_t platform_set_oneshot_timer (platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_oneshot_timer() argument
126 LTRACEF("callback %p, arg %p, timeout %u\n", callback, arg, interval); in platform_set_oneshot_timer()
128 uint64_t ticks = u64_mul_u64_fp32_64(interval, timer_freq_msec_conversion); in platform_set_oneshot_timer()
138 oneshot_interval = interval; in platform_set_oneshot_timer()
/lk-master/arch/mips/
A Dtimer.c61 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
62 TRACEF("callback %p, arg %p, interval %u\n", callback, arg, interval); in platform_set_periodic_timer()
64 DEBUG_ASSERT(interval > 0); in platform_set_periodic_timer()
70 tick_interval_ms = interval; in platform_set_periodic_timer()
71 tick_interval_us = interval * 1000; in platform_set_periodic_timer()
72 tick_interval = interval * (tick_rate / 1000); in platform_set_periodic_timer()
/lk-master/arch/arm/arm-m/systick/
A Dsystick.c69 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
70 LTRACEF("callback %p, arg %p, interval %u\n", callback, arg, interval); in platform_set_periodic_timer()
77 tick_interval_ms = interval; in platform_set_periodic_timer()
78 tick_interval_us = interval * 1000; in platform_set_periodic_timer()
79 arm_cm_systick_set_periodic(interval); in platform_set_periodic_timer()
/lk-master/arch/riscv/
A Dtime.c25 …us_t platform_set_oneshot_timer (platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_oneshot_timer() argument
26 LTRACEF("cb %p, arg %p, interval %u\n", callback, arg, interval); in platform_set_oneshot_timer()
38 uint64_t ticks = riscv_get_time() + ((interval * ARCH_RISCV_MTIME_RATE) / 1000u); in platform_set_oneshot_timer()
/lk-master/dev/timer/or1k_ticktimer/
A Dor1k_ticktimer.c25 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
26 LTRACEF("cb %p, arg %p, interval %u\n", callback, arg, interval); in platform_set_periodic_timer()
28 uint32_t ttmr = (uint64_t)timer_freq * interval / 1000; in platform_set_periodic_timer()
/lk-master/platform/mediatek/mt6797/
A Dtimer.c51 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
53 tick_interval = interval; in platform_set_periodic_timer()
66 DRV_WriteReg32(GPT5_COMPARE_REG, TIMER_TICK_RATE*interval/1000); in platform_set_periodic_timer()
/lk-master/platform/nrf51xxx/
A Dtimer.c29 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) {
34 tick_interval_ms = interval;
36 uint32_t ticks = tick_rate / ( 1000 / interval );
/lk-master/platform/mediatek/mt6735/
A Dtimer.c57 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
59 tick_interval = interval; in platform_set_periodic_timer()
72 DRV_WriteReg32(GPT5_COMPARE_REG, TIMER_TICK_RATE*interval/1000); in platform_set_periodic_timer()
/lk-master/platform/microblaze/
A Dtimer.c46 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
47 LTRACEF("cb %p, arg %p, interval %u\n", callback, arg, interval); in platform_set_periodic_timer()
49 uint32_t count = ((uint64_t)TIMER_RATE * interval / 1000); in platform_set_periodic_timer()
/lk-master/platform/qemu-virt-m68k/
A Dgoldfish_rtc.c107 …us_t platform_set_oneshot_timer (platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_oneshot_timer() argument
108 LTRACEF("callback %p, arg %p, interval %u\n", callback, arg, interval); in platform_set_oneshot_timer()
114 delta += interval * 1000000ULL; in platform_set_oneshot_timer()
/lk-master/platform/include/platform/
A Dtimer.h26 …tus_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval);
29 …tus_t platform_set_oneshot_timer (platform_timer_callback callback, void *arg, lk_time_t interval);
/lk-master/platform/zynq/
A Dtimer.c49 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) {
52 LTRACEF("callback %p, arg %p, interval %lu\n", callback, arg, interval);
56 periodic_interval = interval;
/lk-master/platform/armemu/
A Dtimer.c19 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
23 *REG(PIT_INTERVAL) = interval; in platform_set_periodic_timer()
/lk-master/platform/nrf52xxx/
A Dtimer.c52 …us_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval) { in platform_set_periodic_timer() argument
57 rtc_counts_per_tick = MULT_BY_32768(interval) / 1000 ; in platform_set_periodic_timer()
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dmrt_15xx.h161 STATIC INLINE void Chip_MRT_SetInterval(LPC_MRT_CH_T *pMRT, uint32_t interval) in Chip_MRT_SetInterval() argument
163 pMRT->INTVAL = interval; in Chip_MRT_SetInterval()
/lk-master/external/platform/pico/rp2040/hardware_structs/include/hardware/structs/
A Dclocks.h46 io_rw_32 interval; member
/lk-master/external/platform/nrfx/drivers/include/
A Dnrfx_clock.h249 void nrfx_clock_calibration_timer_start(uint8_t interval);
/lk-master/dev/timer/arm_generic/
A Darm_generic_timer.c178 status_t platform_set_oneshot_timer(platform_timer_callback callback, void *arg, lk_time_t interval in platform_set_oneshot_timer() argument
179 uint64_t cntpct_interval = lk_time_to_cntpct(interval); in platform_set_oneshot_timer()
/lk-master/external/platform/nrfx/hal/
A Dnrf_clock.h566 NRF_STATIC_INLINE void nrf_clock_cal_timer_timeout_set(NRF_CLOCK_Type * p_reg, uint32_t interval);
962 NRF_STATIC_INLINE void nrf_clock_cal_timer_timeout_set(NRF_CLOCK_Type * p_reg, uint32_t interval) in nrf_clock_cal_timer_timeout_set() argument
964 p_reg->CTIV = ((interval << CLOCK_CTIV_CTIV_Pos) & CLOCK_CTIV_CTIV_Msk); in nrf_clock_cal_timer_timeout_set()
/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_clock.c432 void nrfx_clock_calibration_timer_start(uint8_t interval) in nrfx_clock_calibration_timer_start() argument
435 nrf_clock_cal_timer_timeout_set(NRF_CLOCK, interval); in nrfx_clock_calibration_timer_start()
/lk-master/external/platform/lpc15xx/lpcopen/periph_ritimer/example/
A Dreadme.dox37 * interval.<br>
/lk-master/external/platform/lpc15xx/lpcopen/periph_wwdt/example/
A Dreadme.dox38 * on the warning (the LED0 will toggle on each warning interval cycle).<br>
/lk-master/external/lib/lwip/include/lwip/
A Dtcp.h322 void tcp_poll (struct tcp_pcb *pcb, tcp_poll_fn poll, u8_t interval);

Completed in 35 milliseconds

12