js_lib_server_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

JTAG server library object

Declaration

typedef struct
{
  js_server_t base,
  int(* get_port_descr_list)(js_lib_server_t *server, js_port_descr_t **port_listp),
  int(* open_port)(js_lib_server_t *server, js_port_descr_t *port_descr, js_lib_port_t **port),
  void(* deinit_server)(js_lib_server_t *server),
  char last_error[100]
} js_lib_server_struct;
Table 1. Structure js_lib_server_struct member description
Member Description
base

Public part of object

get_port_descr_list

See js_get_port_descr_list()

open_port

See js_open_port()

deinit_server

See js_deinit_server()

last_error

Error of last command