Skip to content

File ns_power_tests.c

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

Go to the source code of this file

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

Public Static Attributes

Type Name
ns_core_config_t core_cfg = = {
.api = &ns_core_V1_0_0,
}
ns_power_config_t custom_cfg

Public Functions

Type Name
void ns_power_config_all_false_test ()
void ns_power_config_all_true_test ()
void ns_power_config_invalid_api_test ()
void ns_power_config_null_test ()
void ns_power_config_power_mode_test ()
void ns_power_config_test ()
void ns_power_tests_post_test_hook ()
void ns_power_tests_pre_test_hook ()

Public Static Functions

Type Name
void reset_custom_cfg ()

Public Static Attributes Documentation

variable core_cfg

ns_core_config_t core_cfg;

variable custom_cfg

ns_power_config_t custom_cfg;

Public Functions Documentation

function ns_power_config_all_false_test

void ns_power_config_all_false_test () 

function ns_power_config_all_true_test

void ns_power_config_all_true_test () 

function ns_power_config_invalid_api_test

void ns_power_config_invalid_api_test () 

function ns_power_config_null_test

void ns_power_config_null_test () 

function ns_power_config_power_mode_test

void ns_power_config_power_mode_test () 

function ns_power_config_test

void ns_power_config_test () 

function ns_power_tests_post_test_hook

void ns_power_tests_post_test_hook () 

function ns_power_tests_pre_test_hook

void ns_power_tests_pre_test_hook () 

Public Static Functions Documentation

function reset_custom_cfg

static void reset_custom_cfg () 

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