Home
last modified time | relevance | path

Searched refs:delay_ms (Results 1 – 7 of 7) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/hardware_watchdog/
Dwatchdog.c43 void _watchdog_enable(uint32_t delay_ms, bool pause_on_debug) { in _watchdog_enable() argument
44 valid_params_if(HARDWARE_WATCHDOG, delay_ms <= WATCHDOG_LOAD_BITS / (1000 * WATCHDOG_XFACTOR)); in _watchdog_enable()
60 if (!delay_ms) { in _watchdog_enable()
63 load_value = delay_ms * 1000; in _watchdog_enable()
79 void watchdog_enable(uint32_t delay_ms, bool pause_on_debug) { in watchdog_enable() argument
83 _watchdog_enable(delay_ms, pause_on_debug); in watchdog_enable()
90 void watchdog_reboot(uint32_t pc, uint32_t sp, uint32_t delay_ms) { in watchdog_reboot() argument
111 _watchdog_enable(delay_ms, 0); in watchdog_reboot()
/hal_rpi_pico-latest/src/rp2_common/hardware_watchdog/include/hardware/
Dwatchdog.h54 void watchdog_reboot(uint32_t pc, uint32_t sp, uint32_t delay_ms);
87 void watchdog_enable(uint32_t delay_ms, bool pause_on_debug);
/hal_rpi_pico-latest/src/rp2_common/hardware_timer/
Dtimer.c101 void timer_busy_wait_ms(timer_hw_t *timer, uint32_t delay_ms) in timer_busy_wait_ms() argument
103 if (delay_ms <= 0x7fffffffu / 1000) { in timer_busy_wait_ms()
104 timer_busy_wait_us_32(timer, delay_ms * 1000); in timer_busy_wait_ms()
106 timer_busy_wait_us(timer, delay_ms * 1000ull); in timer_busy_wait_ms()
137 void busy_wait_ms(uint32_t delay_ms) in busy_wait_ms() argument
139 timer_busy_wait_ms(PICO_DEFAULT_TIMER_INSTANCE(), delay_ms); in busy_wait_ms()
/hal_rpi_pico-latest/src/common/pico_time/include/pico/
Dtime.h783 static inline bool alarm_pool_add_repeating_timer_ms(alarm_pool_t *pool, int32_t delay_ms, repeatin… in alarm_pool_add_repeating_timer_ms() argument
784 …return alarm_pool_add_repeating_timer_us(pool, delay_ms * (int64_t)1000, callback, user_data, out); in alarm_pool_add_repeating_timer_ms()
826 static inline bool add_repeating_timer_ms(int32_t delay_ms, repeating_timer_callback_t callback, vo… in add_repeating_timer_ms() argument
827 …return alarm_pool_add_repeating_timer_us(alarm_pool_get_default(), delay_ms * (int64_t)1000, callb… in add_repeating_timer_ms()
/hal_rpi_pico-latest/src/host/hardware_timer/
Dtimer.c33 void PICO_WEAK_FUNCTION_IMPL_NAME(busy_wait_ms)(uint32_t delay_ms) { in PICO_WEAK_FUNCTION_DEF()
35 usleep(delay_ms * 1000); in PICO_WEAK_FUNCTION_DEF()
/hal_rpi_pico-latest/src/rp2_common/hardware_timer/include/hardware/
Dtimer.h285 void timer_busy_wait_ms(timer_hw_t *timer, uint32_t delay_ms);
293 void busy_wait_ms(uint32_t delay_ms);
/hal_rpi_pico-latest/src/rp2_common/pico_bootrom/include/pico/
Dbootrom.h37 typedef int (*rom_reboot_fn)(uint32_t flags, uint32_t delay_ms, uint32_t p0, uint32_t p1);
476 static inline int rom_reboot(uint32_t flags, uint32_t delay_ms, uint32_t p0, uint32_t p1) { in rom_reboot() argument
478 return func(flags, delay_ms, p0, p1); in rom_reboot()