pwm_hardware

hardware PWM control

Author Sebastien Lelong, Copyright (C) 2008-2009, all rights reserved.
Adapted-by
Compiler >=2.4i

Description

just include this library if you want to use PWM.
Why this one ? It uses to conditional compile to selectively include
appropriate underlying pwm libs and number of PWM channels (up to 5),
according to the PIC configuration.



Ex: - 16f88 has 1 PWM channel: including pwm_hardware will configure PWM 
      for 1 channel (using pwm_ccp1.jal)
    - 16f877 has 2 PWM channels: including pwm_hardware will configure PWM
      for 2 channels (using pwm_ccp1.jal and pwm_ccp2.jal)



This is transparent for the user



Please refer to pwm_common, pwm_ccp1, pwm_ccp2, ... and pwm_ccp5 documentation
to understand how to use PWM.


Notes

this libraries uses conditional compilation. It requires
at least jalv2 2.4i compiler version


Dependencies

No dependency found



Summary

Global variables/contants

Procedures

Functions


API details

Global variables/contants

Procedures

Functions


Related samples

Here are the list of samples which use this library:

sample16f88_pwm_led_highres.jal
sample16f88_pwm_led.jal
sample16f877a_pwm_led.jal
sample16f88_pwm_sound.jal