Is anyone using timer 2 on a 89C668 chip. I based some code using the 8051Fx_timer2 example and it worked fine using the reg52 header. When I chaged the header file to reg668 it wouldn't interrupt(5). I checked the spec sheet and found that timer 2 on the 89C668 used vector address 3BH instead of 2BH which is used by the I2C interrupt. Can anybody suggest a resolution?
Has anyone been able to get timer2 to interrupt on a 89C668 using the reg668 header? Due to conventions and having been burned too often by canned reg.h files I use my own p89c668.h; however I am using interrupt 7 with full succes. Erik