Skip to content

File ns_button_tests.c

FileList > neuralSPOT > neuralspot > ns-peripherals > tests > ns_button_tests.c

Go to the source code of this file

  • #include "ns_peripherals_button.h"
  • #include "unity/unity.h"

Public Attributes

Type Name
ns_button_config_t cfg

Public Functions

Type Name
void ns_button_basic_init_test ()
void ns_button_enable_no_flag_test ()
void ns_button_init_both_buttons_disable_test ()
void ns_button_init_both_buttons_enable_test ()
void ns_button_init_joulescope_trigger_enable_test ()
void ns_button_init_null_test ()
void ns_button_invalid_api_test ()
void ns_button_joulescope_enable_no_flag_test ()
void ns_button_tests_post_test_hook ()
void ns_button_tests_pre_test_hook ()

Public Static Functions

Type Name
void reset_button_config ()

Public Attributes Documentation

variable cfg

ns_button_config_t cfg;

Public Functions Documentation

function ns_button_basic_init_test

void ns_button_basic_init_test () 

function ns_button_enable_no_flag_test

void ns_button_enable_no_flag_test () 

function ns_button_init_both_buttons_disable_test

void ns_button_init_both_buttons_disable_test () 

function ns_button_init_both_buttons_enable_test

void ns_button_init_both_buttons_enable_test () 

function ns_button_init_joulescope_trigger_enable_test

void ns_button_init_joulescope_trigger_enable_test () 

function ns_button_init_null_test

void ns_button_init_null_test () 

function ns_button_invalid_api_test

void ns_button_invalid_api_test () 

function ns_button_joulescope_enable_no_flag_test

void ns_button_joulescope_enable_no_flag_test () 

function ns_button_tests_post_test_hook

void ns_button_tests_post_test_hook () 

function ns_button_tests_pre_test_hook

void ns_button_tests_pre_test_hook () 

Public Static Functions Documentation

function reset_button_config

static void reset_button_config () 

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