2005-05-26 07:55 AM
reset of ICF1 Bit in TASR using PWM mode
2005-05-26 07:55 AM
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