Skip to content

File ns_usb_tests.c

FileList > neuralSPOT > neuralspot > ns-usb > tests > ns_usb_tests.c

Go to the source code of this file

  • #include "ns_usb.h"
  • #include "unity/unity.h"
  • #include "ns_core.h"

Public Attributes

Type Name
ns_usb_config_t cfg
usb_handle_t handle = = NULL
uint8_t rx_buf
uint8_t tx_buf

Public Functions

Type Name
void ns_usb_test_init ()
void ns_usb_test_init_invalid_api ()
void ns_usb_test_init_null_buffers ()
void ns_usb_test_init_null_config ()
void ns_usb_tests_post_test_hook ()
void ns_usb_tests_pre_test_hook ()
void reset_usb_cfg ()

Public Attributes Documentation

variable cfg

ns_usb_config_t cfg;

variable handle

usb_handle_t handle;

variable rx_buf

uint8_t rx_buf[4096];

variable tx_buf

uint8_t tx_buf[4096];

Public Functions Documentation

function ns_usb_test_init

void ns_usb_test_init () 

function ns_usb_test_init_invalid_api

void ns_usb_test_init_invalid_api () 

function ns_usb_test_init_null_buffers

void ns_usb_test_init_null_buffers () 

function ns_usb_test_init_null_config

void ns_usb_test_init_null_config () 

function ns_usb_tests_post_test_hook

void ns_usb_tests_post_test_hook () 

function ns_usb_tests_pre_test_hook

void ns_usb_tests_pre_test_hook () 

function reset_usb_cfg

void reset_usb_cfg () 

The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-usb/tests/ns_usb_tests.c