Added noise maker support.
[cerebrum.git] / pwm.h
blob37433c4797557428ca21cdbaa58832ac953bdb05
2 //CAUTION! This module uses Timer 0
4 #ifndef __PWM_H__
5 #define __PWM_H__
7 #include <avr/io.h>
8 #include <avr/interrupt.h>
9 #include "config.h"
11 #ifdef HAS_PWM_SUPPORT
13 extern uint8_t pwm_cycle;
14 extern uint8_t pwm_val[];
16 #endif//HAS_PWM_SUPPORT
18 void pwm_setup(void);
19 void pwm_loop(void);
21 #endif//__PWM_H__