PHiLIP
|
Used for logging traces. More...
#include <string.h>
#include <stdint.h>
#include "PHiLIP_typedef.h"
#include "app_common.h"
#include "trace.h"
Macros | |
#define | NUM_OF_TRACES (sizeof(((map_t*)0)->trace.tick)/sizeof(((map_t*)0)->trace.tick[0])) |
Gets the buffer size of the number of traces. | |
Functions | |
void | init_trace (map_t *reg) |
Initializes trace register. More... | |
void | store_gpio_trace (uint8_t tick_div, uint8_t source, uint16_t value) |
Stores an gpio toggle event. More... | |
void | store_tick_from_buf (uint8_t source, uint16_t value, uint32_t tick) |
Stores an ticks saved from a buffer. More... | |
Used for logging traces.