/lk-master/external/platform/lpc15xx/lpcopen/usbd_rom_hid_keyboard/example/inc/ |
A D | ms_timer.h | 52 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 D | timer.c | 44 …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 D | arm_cortex_a9_timer.c | 98 …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 D | timer.c | 61 …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 D | systick.c | 69 …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 D | time.c | 25 …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 D | or1k_ticktimer.c | 25 …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 D | timer.c | 51 …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 D | timer.c | 29 …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 D | timer.c | 57 …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 D | timer.c | 46 …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 D | goldfish_rtc.c | 107 …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 D | timer.h | 26 …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 D | timer.c | 49 …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 D | timer.c | 19 …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 D | timer.c | 52 …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 D | mrt_15xx.h | 161 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 D | clocks.h | 46 io_rw_32 interval; member
|
/lk-master/external/platform/nrfx/drivers/include/ |
A D | nrfx_clock.h | 249 void nrfx_clock_calibration_timer_start(uint8_t interval);
|
/lk-master/dev/timer/arm_generic/ |
A D | arm_generic_timer.c | 178 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 D | nrf_clock.h | 566 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 D | nrfx_clock.c | 432 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 D | readme.dox | 37 * interval.<br>
|
/lk-master/external/platform/lpc15xx/lpcopen/periph_wwdt/example/ |
A D | readme.dox | 38 * on the warning (the LED0 will toggle on each warning interval cycle).<br>
|
/lk-master/external/lib/lwip/include/lwip/ |
A D | tcp.h | 322 void tcp_poll (struct tcp_pcb *pcb, tcp_poll_fn poll, u8_t interval);
|