Hello all,
I am looking to create a software timer that does not use any of the timers supplied in the LPC1342 microcontroller. I am thinking of reading a ram, rom, or flash location a number of times in order to make up a specific time period (i.e. using the access time of these devices). Has anyone achieved this under the ARM/Thumb2 environment programmed in C?
Regards
Barry
Don't even think about doing this in any High-Level Language!
Precise instruction timing requires precise control of the specific instructions being executed - which is precisely what you lose when you use an HLL!!
See: www.8052.com/.../162556 (not all 8052-specific)
"Don't even think about doing this in any High-Level Language!"
For a detailed treatise on why not (specifically in 'C'), see: blog.regehr.org/.../28