pic_pwm.h File Reference

#include "config.h"
#include "pic_utils.h"

Include dependency graph for pic_pwm.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uns8 pwm_get_level (uns8 pwm_item)
void pwm_handle ()
void pwm_set_level (uns8 pwm_item, uns8 level)
void pwm_set_transition (uns8 to_level, uns16 steps)
void pwm_setup ()

Variables

uns8 pwm_count
uns8 pwm_level [PWM_NUM_PINS]


Function Documentation

uns8 pwm_get_level ( uns8  pwm_item  ) 

Definition at line 16 of file pic_pwm.c.

References pwm_level.

void pwm_handle (  ) 

Definition at line 36 of file pic_pwm.c.

References clear_pin, pwm_count, pwm_level, set_pin, and uns8.

void pwm_set_level ( uns8  pwm_item,
uns8  level 
)

Definition at line 11 of file pic_pwm.c.

References pwm_level.

void pwm_set_transition ( uns8  to_level,
uns16  steps 
)

void pwm_setup (  ) 

Definition at line 24 of file pic_pwm.c.

References make_output.


Variable Documentation

uns8 pwm_count

Definition at line 7 of file pic_pwm.c.

Referenced by pwm_handle().

uns8 pwm_level[PWM_NUM_PINS]

Definition at line 8 of file pic_pwm.c.

Referenced by pwm_get_level(), pwm_handle(), and pwm_set_level().


Generated on Mon Apr 28 08:16:13 2008 for Pic Pack by  doxygen 1.5.5