Skip to content

Struct ns_rpc_config_t

ClassList > ns_rpc_config_t

RPC Configuration Struct.

  • #include <ns_rpc_generic_data.h>

Public Attributes

Type Name
const ns_core_api_t * api
API prefix.
ns_rpc_data_computeOnEVB_cb computeOnEVB_cb
Callback for computeOnEVB.
ns_rpc_data_fetchBlockFromEVB_cb fetchBlockFromEVB_cb
Callback for fetchBlockFromEVB.
rpcGenericDataMode_e mode
Client or Server mode.
uint8_t * rx_buf
Pointer to allocated buffer which USB CDC will use for rx transfers.
uint32_t rx_bufLength
Length of rx buffer.
ns_rpc_data_sendBlockToEVB_cb sendBlockToEVB_cb
Callback for sendBlockToEVB.
uint8_t * tx_buf
Pointer to allocated buffer which USB CDC will use for tx transfers.
uint32_t tx_bufLength
Length of tx buffer.
usb_handle_t usbHandle
USB handle.

Public Attributes Documentation

variable api

const ns_core_api_t* ns_rpc_config_t::api;

variable computeOnEVB_cb

ns_rpc_data_computeOnEVB_cb ns_rpc_config_t::computeOnEVB_cb;

variable fetchBlockFromEVB_cb

ns_rpc_data_fetchBlockFromEVB_cb ns_rpc_config_t::fetchBlockFromEVB_cb;

variable mode

rpcGenericDataMode_e ns_rpc_config_t::mode;

variable rx_buf

uint8_t* ns_rpc_config_t::rx_buf;

variable rx_bufLength

uint32_t ns_rpc_config_t::rx_bufLength;

variable sendBlockToEVB_cb

ns_rpc_data_sendBlockToEVB_cb ns_rpc_config_t::sendBlockToEVB_cb;

variable tx_buf

uint8_t* ns_rpc_config_t::tx_buf;

variable tx_bufLength

uint32_t ns_rpc_config_t::tx_bufLength;

variable usbHandle

usb_handle_t ns_rpc_config_t::usbHandle;

The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-rpc/includes-api/ns_rpc_generic_data.h