• Count Timer value
    I want to count time between two rising edge of TTL Pulses. For that I am using Timer0 & Timer1. Timer0 is generate interrupt at every 20ms. In Timer0 ISR I start GPIO Interrupt. In GPIO ISR I start...
  • How to read the SysTick timer value?
    1. I want to know what is RTX SysTick timer? 2 Or how to read its current value? 3. How to start SysTick timer before RTX if it is possible? I'd prefer to use library functions but failed to find...
  • Calculating starting value for 8051 timer
    I've been reading http://www.keil.com/appnotes/files/apnt_105.pdf in order to learn how to best handle 8051 timer interrupts in Keil C. For calculating the starting value, it says: #define TIMER0_COUNT...
  • Read timer values with C-code
    Hi. I am a beginner with the 8051 controllers, and are trying to run a servo. I need 20ms period and 1-2ms pulses, as Im sure a lot of you guys know. I was trying this : void main() { uint16_t...
  • CC 2430 Timer 1 - Counter value change
    Hi, I'm using Sensinode Platform for IEEE 802.15.4 and my task is to implement network time synchronization. Currently I'm trying to synchronize the clock of two nodes. The CC2430 Timer 1 counter...