File ns_power_profile.c
FileList > neuralSPOT > neuralspot > ns-utils > src > ns_power_profile.c
Go to the source code of this file
Collection of power profiling utilities. More...
#include "ns_power_profile.h"
#include "ns_ambiqsuite_harness.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
Public Attributes
Type | Name |
---|---|
am_bsp_pp_b1_t | am_bsp_pp1 |
am_bsp_pp_b2_t | am_bsp_pp2 |
am_bsp_pp_b3_t | am_bsp_pp3 |
am_bsp_pp_b4_t | am_bsp_pp4 |
void * | g_pp_AUDADCHandle |
Public Functions
Type | Name |
---|---|
void | ns_pp_snapshot (bool bSingleShot, uint32_t uNumber) |
void | ns_print_JSON (void) Prints the filled up JSON to serial port. |
Detailed Description
Author:
Ambiq
Version:
0.1
Date:
2022-10-10
Copyright:
Copyright (c) 2022
Public Attributes Documentation
variable am_bsp_pp1
am_bsp_pp_b1_t am_bsp_pp1;
variable am_bsp_pp2
am_bsp_pp_b2_t am_bsp_pp2;
variable am_bsp_pp3
am_bsp_pp_b3_t am_bsp_pp3;
variable am_bsp_pp4
am_bsp_pp_b4_t am_bsp_pp4;
variable g_pp_AUDADCHandle
void* g_pp_AUDADCHandle;
Public Functions Documentation
function ns_pp_snapshot
void ns_pp_snapshot (
bool bSingleShot,
uint32_t uNumber
)
function ns_print_JSON
Prints the filled up JSON to serial port.
void ns_print_JSON (
void
)
Parameters:
void
This function will print filled JSON fields to serial port.
Note:
- before use this function, make sure the UART or SWO is enabled
Returns:
None
The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-utils/src/ns_power_profile.c