PHiLIP
trace.h File Reference

Used for logging traces. More...

Go to the source code of this file.

Enumerations

enum  EVENT_SOURCES {
  SOURCE_NONE, SOURCE_DEBUG0, SOURCE_DEBUG1, SOURCE_DEBUG2,
  SOURCE_DUT_IC
}
 The sources of an event. More...
 
enum  EVENT_TYPE { EVENT_TYPE_FALLING, EVENT_TYPE_RISING }
 Type of trigger causing the event. More...
 

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...
 

Detailed Description

Used for logging traces.

Author
Kevin Weiss
Date
12.03.2019