1 /* This file has been prepared for Doxygen automatic documentation generation.*/
\r
2 /*! \file *********************************************************************
\r
5 * Header file for PWM.c
\r
7 * Contains definitions to control PWM behaviour.
\r
9 * \par Application note:
\r
10 * AVR458: Charging Li-Ion Batteries with BC100
\r
12 * \par Documentation
\r
13 * For comprehensive code documentation, supported compilers, compiler
\r
14 * settings and supported devices see readme.html
\r
17 * Atmel Corporation: http://www.atmel.com \n
\r
18 * Support email: avr@atmel.com
\r
24 * $URL: http://svn.norway.atmel.com/AppsAVR8/avr458_Charging_Li-Ion_Batteries_with_BC100/tag/20070904_release_1.0/code/IAR/PWM.h $
\r
25 * $Date: 2007-08-10 09:28:35 +0200 (fr, 10 aug 2007) $\n
\r
26 ******************************************************************************/
\r
31 //******************************************************************************
\r
32 // Constants for PWM
\r
33 //******************************************************************************
\r
34 //! Needed for JumperCheck() to succeed. ADC is saturated otherwise!
\r
35 #define PWM_OFFSET 12
\r
37 //! PWM duty cycle limit (must be less than 256).
\r
41 //******************************************************************************
\r
42 // Function prototypes
\r
43 //******************************************************************************
\r
44 void PWM_Start(void);
\r
45 void PWM_Stop(void);
\r
46 unsigned char PWM_IncrementDutyCycle(void);
\r
47 unsigned char PWM_DecrementDutyCycle(void);
\r