I don't know why, I thought I understood it, but I am having difficulty determining the correct control register bits to set to obtain the phase correct PWM mode I wish to operate in. I want to have an interrupt handler set or clear a pair of GPIOs based on the status of the PWM module. I need two GPIOs, because I wish to sink ~~40 mA from my LED, without using an external pass transistor (I am working with a design which has extremely tight physical size restrictions). Can someone here assist me in understanding the correct register settings to achieve this goal? Thanks in advance. tom
Message
PWM help
2007-10-06 by Thomas Keller
Attachments
- No local attachments were found for this message.