cancel
Showing results for 
Search instead for 
Did you mean: 

reset of ICF1 Bit in TASR using PWM mode

andreasfiebich9
Associate II
Posted on May 26, 2005 at 16:55

reset of ICF1 Bit in TASR using PWM mode

1 REPLY 1
andreasfiebich9
Associate II
Posted on May 26, 2005 at 16:55

How can I reset the ICF1 Bit (interrupt bit in TASR or TBSR) in PWM mode ? Do I also have to read the TAIC1LR and TAIC1HR registers to perform the reset of this bit as it has to be done in input capture mode ?

application : I simply want to use the 16 bit Timer for the generation of an exact periodic interrupt using PWM mode (no I/O pin connected to the compare unit), but using the interrupt thats generated on OCR2 compare match and automatic resetting of the timer (ICF1 is set in this case) !

Regards,

Dipl.-Ing. Klaus Pelikan