| ??? 06/20/01 21:50 Read: times |
#12669 - Timer problem |
I'm trying to use 8052 timer 0 (or 1) and its interrupt frequency (mesured on pin wired to sbit "outp") depends on the rest program size. Looks like timer counts program cycles not system clock. Can anybody please help me?
.......... TMOD = 0x02; TH0 = 0x00; TL0 = 0x00; ET0 = 1; TF0 = 0; TR0 = 1; ......... void timer0 (void) interrupt 1 using 1 { outp = ~outp; } |
| Topic | Author | Date |
| Timer problem | 01/01/70 00:00 | |
| RE: Timer problem | 01/01/70 00:00 | |
| RE: Timer problem | 01/01/70 00:00 | |
| RE: Timer problem | 01/01/70 00:00 | |
| RE: Timer problem | 01/01/70 00:00 | |
| RE: Timer problem | 01/01/70 00:00 | |
| RE: Timer problem | 01/01/70 00:00 | |
RE: Timer problem | 01/01/70 00:00 |



