Struct 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. |
ns_rpc_transport_e | transport Transport type USB or UART. |
uint8_t * | tx_buf Pointer to allocated buffer which USB CDC will use for tx transfers. |
uint32_t | tx_bufLength Length of tx buffer. |
ns_uart_handle_t | uartHandle UART handle. |
Public Attributes Documentation
variable api
API prefix.
const ns_core_api_t* ns_rpc_config_t::api;
variable computeOnEVB_cb
Callback for computeOnEVB.
ns_rpc_data_computeOnEVB_cb ns_rpc_config_t::computeOnEVB_cb;
variable fetchBlockFromEVB_cb
Callback for fetchBlockFromEVB.
ns_rpc_data_fetchBlockFromEVB_cb ns_rpc_config_t::fetchBlockFromEVB_cb;
variable mode
Client or Server mode.
rpcGenericDataMode_e ns_rpc_config_t::mode;
variable rx_buf
Pointer to allocated buffer which USB CDC will use for rx transfers.
uint8_t* ns_rpc_config_t::rx_buf;
variable rx_bufLength
Length of rx buffer.
uint32_t ns_rpc_config_t::rx_bufLength;
variable sendBlockToEVB_cb
Callback for sendBlockToEVB.
ns_rpc_data_sendBlockToEVB_cb ns_rpc_config_t::sendBlockToEVB_cb;
variable transport
Transport type USB or UART.
ns_rpc_transport_e ns_rpc_config_t::transport;
variable tx_buf
Pointer to allocated buffer which USB CDC will use for tx transfers.
uint8_t* ns_rpc_config_t::tx_buf;
variable tx_bufLength
Length of tx buffer.
uint32_t ns_rpc_config_t::tx_bufLength;
variable uartHandle
UART handle.
ns_uart_handle_t ns_rpc_config_t::uartHandle;
The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-rpc/includes-api/ns_rpc_generic_data.h