Skip to content

Group harness

Modules > harness

Public Functions

Type Name
int32_t ns_cryptoless_itm_printf_disable (void)
Disable prints enabled by ns_itm_printf_enable() __
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.

Macros

Type Name
define NS_PUT_IN_TCM
define ns_debug_printf_disable am_bsp_debug_printf_disable
define ns_debug_printf_enable am_bsp_debug_printf_enable
define ns_delay_us am_hal_delay_us
define ns_interrupt_master_disable am_hal_interrupt_master_disable
define ns_interrupt_master_enable am_hal_interrupt_master_enable
define ns_itm_printf_disable
define ns_printf ns_lp_printf
define ns_uart_printf_disable am_bsp_uart_printf_disable

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_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
) 

Macro Definition Documentation

define NS_PUT_IN_TCM

#define NS_PUT_IN_TCM 

define ns_debug_printf_disable

#define ns_debug_printf_disable am_bsp_debug_printf_disable

define ns_debug_printf_enable

#define ns_debug_printf_enable am_bsp_debug_printf_enable

define ns_delay_us

#define ns_delay_us am_hal_delay_us

define ns_interrupt_master_disable

#define ns_interrupt_master_disable am_hal_interrupt_master_disable

define ns_interrupt_master_enable

#define ns_interrupt_master_enable am_hal_interrupt_master_enable

define ns_itm_printf_disable

#define ns_itm_printf_disable g_ns_state.itmPrintCurrentlyEnabled = false;                                               \
        am_bsp_itm_printf_disable

define ns_printf

#define ns_printf ns_lp_printf

define ns_uart_printf_disable

#define ns_uart_printf_disable am_bsp_uart_printf_disable