blob: a37bcc0903083eae617444f150127099c5a6e77f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef FUNCGEN_TIMER_H_
#define FUNCGEN_TIMER_H_
#include <stdint.h>
/* 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_ */
|