• regarding timer 2 function
    gratitude to responder... i am using 89c5131 and want to use timer 2 in 16-bit auto reload mode . i found problem in timing calculations. i have crystral of 24MHz, so timer fre. would be 12MHz, and...
  • Jumping to function after timer interrupt
    In my program, I have a periodic timer interrupt written in C. What I need to achieve is to have the interrupt service routine jump to another function after the interrupt service routine is executed...
  • How use timer to delay in a function?
    A delay function is defined normally as: void delay(int n) { int i; for (i= 0; i<n; i++) _nop_(); } when delay() performed,ALU get in loop but do nothing.Can use a timer counting to delay...
  • Timers
    hai Iam new to this how can i configure a timer to run as a one second timer.for every second it must count .plz some example code please
  • Timer
    I want 10 sec delay for the system how to implement it in keil c. kindly help me. for example: consider a road signal which has three aspects and when the aspect changes from green to red it goes...