• Example code with timers and interrupts
    I am having a hard time finding any good sample code for using timers and interrupts with the Cortex M3 and the Keil compiler. For that matter, I can't even find any examples of simply how to use interrupts...
  • Getting Watchdog timer reset
    Hi, For executing asm instructions in C51 compiler(KEIL IDE) I did 1.Enable Generate Assembler SRC file and 2.Enable Assemble SRC File. After settings done, i had compiled and make the file without...
  • Reset watch dog timer...
    Hi All, I am using AT89s8252,to reset the Watch Dog timer I am using the cmd(all in vain) setb WDTEN_ ...then I came to know that WCON(0x96) cannot be bit addressed...:-( If that is the...
  • Problem with reseting timer counter TC
    Hi! I have strange problem with LPC21xx. For example, we using timer0, match0. Let's set reset & stop on MR0. If we will set PR=0, then timer will stop and reset after TC reach MR0 value. But if...
  • TIMER INTERRUPT
    Well, I am a newbie and I am confused about the timer interrupt. I want to make the timer interrupt every second with 10 Mhz crystal. I am confused about Prescaler and MR registers. This is my code...