forked from rmaalmeida/Kernel.X
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpwm.h
More file actions
25 lines (21 loc) · 1.01 KB
/
pwm.h
File metadata and controls
25 lines (21 loc) · 1.01 KB
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
// -----------------------------------------------------------------------
// pwm.h -> funções para acesso ao pwm
// Autor: Rodrigo Maximiano Antunes de Almeida
// rodrigomax at unifei.edu.br
// -----------------------------------------------------------------------
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// -----------------------------------------------------------------------
#ifndef PWM_H
#define PWM_H
void SetaPWM1(unsigned char porcento);
void SetaPWM2(unsigned char porcento);
void SetaFreqPWM(unsigned int freq);
void InicializaPWM(void);
#endif //PWM_H