jerry_port_vm.h File Reference
#include <driver/hw_timer.h>
#include <jrt.h>
Include dependency graph for jerry_port_vm.h:

Go to the source code of this file.

Classes

struct  jerry_port_watchdog_t
 Watchdog state information. More...
 

Functions

void jerry_port_watchdog_set_period (uint32_t milliseconds)
 Set watchdog period in milliseconds. More...
 
static void jerry_port_watchdog_reset ()
 Reset watchdog timer before calling into jerryscript (load, run, etc) More...
 
static uint32_t jerry_port_watchdog_read ()
 Get elapsed watchdog time (in ticks) since last reset. More...
 
static bool jerry_port_watchdog_poll ()
 Called by jerryscript VM loop. Generates fatal error on timeout. More...
 

Variables

struct jerry_port_watchdog_t jerry_port_watchdog
 

Function Documentation

◆ jerry_port_watchdog_poll()

static bool jerry_port_watchdog_poll ( )
static

Called by jerryscript VM loop. Generates fatal error on timeout.

◆ jerry_port_watchdog_read()

static uint32_t jerry_port_watchdog_read ( )
static

Get elapsed watchdog time (in ticks) since last reset.

◆ jerry_port_watchdog_reset()

static void jerry_port_watchdog_reset ( )
static

Reset watchdog timer before calling into jerryscript (load, run, etc)

◆ jerry_port_watchdog_set_period()

void jerry_port_watchdog_set_period ( uint32_t  milliseconds)

Set watchdog period in milliseconds.

Variable Documentation

◆ jerry_port_watchdog

struct jerry_port_watchdog_t jerry_port_watchdog