js_lib_port_struct - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

Declaration

typedef struct
{
  js_port_t base,
  int(* get_property)(js_lib_port_t *port, js_property_kind_t kind, js_property_value_t *valuep),
  int(* set_property)(js_lib_port_t *port, js_property_kind_t kind, js_property_value_t value),
  int(* run_command_sequence)(js_lib_command_sequence_t *commands),
  int(* close_port)(js_lib_port_t *port)
} js_lib_port_struct;
Table 1. Structure js_lib_port_struct member description
Member Description
base

Base class - must be first.

get_property

See js_get_property()

set_property

See js_set_property()

run_command_sequence

See js_run_command_sequence()

close_port

See js_close_port()