Skip to content

File ns-ambiqsuite-harness.c

FileList > neuralSPOT > neuralspot > ns-harness > src > ns-ambiqsuite-harness.c

Go to the source code of this file

Wrappers for common AmbiqSuite operations.

  • #include "am_bsp.h"
  • #include "am_mcu_apollo.h"
  • #include "am_util.h"
  • #include "ns_ambiqsuite_harness.h"

Public Functions

Type Name
int32_t ns_cryptoless_itm_printf_disable (void)
Disable prints enabled by ns_itm_printf_enable() __
int32_t ns_cryptoless_itm_printf_enable (void)
Special enable that doesn't check crypto/dcu.
void ns_itm_printf_enable (void)
Enable ITM prints without needed Crypto to be enabled.
void ns_lp_printf (const char * format, ...)
Low power print that enables only the needed hardware only while needed.
void ns_uart_printf_enable (void)
Enable UART prints in power-sensitive way.

Public Functions Documentation

function ns_cryptoless_itm_printf_disable

Disable prints enabled by ns_itm_printf_enable() __

int32_t ns_cryptoless_itm_printf_disable (
    void
) 

Returns:

int32_t

Disable prints enabled by ns_itm_printf_enable()

Returns:

0 on success.

function ns_cryptoless_itm_printf_enable

Special enable that doesn't check crypto/dcu.

int32_t ns_cryptoless_itm_printf_enable (
    void
) 

Returns:

0 on success.

function ns_itm_printf_enable

Enable ITM prints without needed Crypto to be enabled.

void ns_itm_printf_enable (
    void
) 

Enable ITM prints without needed Crypto to be enabled.

function ns_lp_printf

Low power print that enables only the needed hardware only while needed.

void ns_lp_printf (
    const char * format,
    ...
) 

Parameters:

  • format
  • ...

Low power print that enables only the needed hardware only while needed.

Parameters:

  • format
  • ...

function ns_uart_printf_enable

void ns_uart_printf_enable (
    void
) 

The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-harness/src/ns-ambiqsuite-harness.c