Prusa3d Marlin fork
tone04.h
1
//tone04.h
2
// use atmega timer4 as main tone timer instead of timer2
3
// timer2 is used for System timer.
4
#ifndef TIMER04_H
5
#define TIMER04_H
6
7
#include <inttypes.h>
8
9
#if defined(__cplusplus)
10
extern
"C"
{
11
#endif
//defined(__cplusplus)
12
13
extern
void
timer4_init(
void
);
14
15
extern
void
timer4_set_fan0(uint8_t duty);
16
17
extern
void
tone4(uint8_t _pin, uint16_t frequency);
18
19
extern
void
noTone4(uint8_t _pin);
20
21
#if defined(__cplusplus)
22
}
23
#endif
//defined(__cplusplus)
24
25
#endif
//TIMER02_H
Generated by
1.9.1