whycyhl
2022-05-05 683c912f9ac1935a7b109fb402bb276dba450f6b
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
36
37
38
39
40
41
42
43
44
45
46
47
/************************** Copyright (c) **********************************
**                 FUZHOU FUGUANG ELECTRONICS Co.,LTD.
**                        ¸£Öݸ£¹âµç×ÓÓÐÏÞ¹«Ë¾
**                       http://www.fuguang.com
**
**-------------- File Info -------------------------------------------------
** File name:            M64PWM_Driver.h
** Last modified Date:  2008-11-16
** Last Version:        1.0
** Descriptions:        M64PWM Drivers lib
**
**--------------------------------------------------------------------------
** Created by:            mxpopstar
** Created date:        2008-11-16
** Version:                1.0
** Descriptions:        The original version
**
**--------------------------------------------------------------------------
** Modified by:            mxpopstar
** Modified date:        2008-11-20
** Version:
** Descriptions:        M64PWM Drivers lib
**
***************************************************************************/
//
#ifndef M64PWM_Dri_H
#define M64PWM_Dri_H
 
#include<avr/io.h>
#include<util/delay.h>
 
void InitIO_M64PWM(void);
void Config_M64PWM(void);
void Start_M64PWM1(void);
void Start_M64PWM2(void);
void Start_M64PWM3(void);
 
void Stop_M64PWM(void);
 
void SetM64PWM1Value(const unsigned int value);
void SetM64PWM2Value(const unsigned int value);
void SetM64PWM3Value(const unsigned int value);
unsigned int GetM64PWM1Value(void);
unsigned int GetM64PWM2Value(void);
unsigned int GetM64PWM3Value(void);
#endif 
//