inspektors/include/debug.h
2017-11-24 22:14:50 +02:00

17 lines
536 B
C

#ifndef DEBUG_H
#define DEBUG_H
#include <avr/io.h>
#include "/usr/include/simavr/avr/avr_mcu_section.h"
AVR_MCU(F_CPU, "atmega328p");
const struct avr_mmcu_vcd_trace_t _mytrace[] _MMCU_ = {
{ AVR_MCU_VCD_SYMBOL("DDRB"), .what = (void *) &DDRB, },
{ AVR_MCU_VCD_SYMBOL("TCCR1A"), .what = (void *) &TCCR1A, },
{ AVR_MCU_VCD_SYMBOL("TCCR1B"), .what = (void *) &TCCR1B, },
{ AVR_MCU_VCD_SYMBOL("OCR1A"), .what = (void *) &OCR1A, },
{ AVR_MCU_VCD_SYMBOL("OCR1B"), .what = (void *) &OCR1B, },
};
#endif /* DEBUG_H */