summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/avr/interfaces/int_AVRPeripheralPWM.h
blob: 2d5e5cbdd39ff9ebe6487b8c93dbb3038a4cf5a8 (plain)
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
//This file defines constants corresponding to gpios.
//
// Authors
//     Siddhesh Wani
//

#ifndef __INT_AVRPERIPHERALPWM_H__
#define __INT_AVRPERIPHERALPWM_H__

#include <avr/io.h>
#include "AVRPeripheralPWM.h"

#ifdef  __cplusplus
extern "C" {
#endif

#define AVRPWMSetup(in1,in2,in3,in4) u8AVRPWMSetups((uint8) in1,\
                                         (uint8) in2, (uint8) in3, (uint8) in4);

#define AVRPWMSetDuty(in1,in2) u8AVRPWMSetDutys((uint8) in1, (uint8) in2);

#ifdef  __cplusplus
} /* extern "C" */
#endif

#endif /* !__AVRPERIPHERALADC_H__ */