jerry_port_vm.h
Go to the documentation of this file.
static uint32_t hw_timer2_read(void)
Read current timer2 value.
Definition: Esp32/Components/driver/include/driver/hw_timer.h:147
static void jerry_port_watchdog_reset()
Reset watchdog timer before calling into jerryscript (load, run, etc)
Definition: jerry_port_vm.h:36
static bool jerry_port_watchdog_poll()
Called by jerryscript VM loop. Generates fatal error on timeout.
Definition: jerry_port_vm.h:52
struct jerry_port_watchdog_t jerry_port_watchdog
static uint32_t jerry_port_watchdog_read()
Get elapsed watchdog time (in ticks) since last reset.
Definition: jerry_port_vm.h:44
void jerry_port_watchdog_set_period(uint32_t milliseconds)
Set watchdog period in milliseconds.
uint32_t period
Watchdog timeout in hardware timer units.
Definition: jerry_port_vm.h:22
uint32_t start
Time of last call to jerry_port_watchdog_reset()
Definition: jerry_port_vm.h:23