repo.or.cz
/
cerebrum.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added noise maker support.
[cerebrum.git]
/
pwm.h
blob
37433c4797557428ca21cdbaa58832ac953bdb05
1
2
//CAUTION! This module uses Timer 0
3
4
#ifndef __PWM_H__
5
#define __PWM_H__
6
7
#include <avr/io.h>
8
#include <avr/interrupt.h>
9
#include
"config.h"
10
11
#ifdef HAS_PWM_SUPPORT
12
13
extern
uint8_t
pwm_cycle
;
14
extern
uint8_t
pwm_val
[];
15
16
#endif
//HAS_PWM_SUPPORT
17
18
void
pwm_setup
(
void
);
19
void
pwm_loop
(
void
);
20
21
#endif
//__PWM_H__