#ifndef FUNCGEN_TIMER_H_ #define FUNCGEN_TIMER_H_ #include /* The 8-bit digital to analog converter port. */ #define DAC_DDR DDRD #define DAC_PORT PORTD /* Reconfigure the generator */ void generator_reconfigure(uint8_t waveform, uint16_t ocr, uint16_t prescaler, uint8_t step); #endif /* FUNCGEN_TIMER_H_ */