2017-11-24 17:24:12 +02:00
|
|
|
#ifndef DEBUG_H
|
|
|
|
#define DEBUG_H
|
|
|
|
|
|
|
|
#include <avr/io.h>
|
2018-01-09 20:16:51 +02:00
|
|
|
#include <avr/avr_mcu_section.h>
|
2017-11-24 22:14:50 +02:00
|
|
|
|
2017-11-24 17:24:12 +02:00
|
|
|
AVR_MCU(F_CPU, "atmega328p");
|
|
|
|
const struct avr_mmcu_vcd_trace_t _mytrace[] _MMCU_ = {
|
2018-01-09 20:16:51 +02:00
|
|
|
{ AVR_MCU_VCD_SYMBOL("DDRD"), .what = (void *) &DDRD, },
|
|
|
|
{ AVR_MCU_VCD_SYMBOL("TCCR0A"), .what = (void *) &TCCR0A, },
|
|
|
|
{ AVR_MCU_VCD_SYMBOL("TCCR0B"), .what = (void *) &TCCR0B, },
|
|
|
|
{ AVR_MCU_VCD_SYMBOL("OCR0A"), .what = (void *) &OCR0A, },
|
|
|
|
{ AVR_MCU_VCD_SYMBOL("OCR0B"), .what = (void *) &OCR0B, },
|
2017-11-24 17:24:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* DEBUG_H */
|