-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTimer1.h
More file actions
35 lines (26 loc) · 839 Bytes
/
Copy pathTimer1.h
File metadata and controls
35 lines (26 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* Timer1.h
*
* Created on: 04 Apr 2015
* Author: RobThePyro
*/
// For Atmega32 !!
#ifndef TIMER1_H_
#define TIMER1_H_
// Includes:
/*****************************************************************************/
#include <avr/io.h> /* Defines pins, ports, etc */
#include <util/delay.h> /* Functions to waste time */
#include "pinDefines.h"
// Defines:
/*****************************************************************************/
// Variables:
/*****************************************************************************/
// Function Prototypes:
/*****************************************************************************/
void Timer1_init(void);
void Timer1_PWM_Off(void);
void Timer1_PWM_On(void);
void Timer1_Set_PWM_1A(uint8_t PWM_Value);
void Timer1_Set_PWM_1B(uint8_t PWM_Value);
#endif /* TIMER1_H_ */