DHCOM_HAL
Hardware-abstraction library (HAL) for multiple targets, including DHCOM modules
 All Data Structures Files Functions Enumerations Macros Groups
pwm.h
Go to the documentation of this file.
1 /*
2  * pwm.h
3  *
4  * Created on: 07.11.2012
5  * Author: Peter Kishalov
6  */
7 
8 #ifndef PWM_H_
9 #define PWM_H_
10 
11 
12 class PWM
13 {
14 public:
15  PWM();
16  virtual ~PWM();
17 
18  virtual bool setDivisorAndLimit(unsigned int divisor, unsigned int limit);
19  virtual bool setComparisonValue(unsigned int value);
20  virtual void enable(bool enabled);
21 };
22 
23 
58 #endif /* PWM_H_ */