]> oss.titaniummirror.com Git - rgblamp.git/commit
Clock loop start to loop start using Timer 0
authorR. Steve McKown <rsmckown@gmail.com>
Wed, 7 Dec 2011 00:16:33 +0000 (17:16 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Wed, 7 Dec 2011 00:16:33 +0000 (17:16 -0700)
commitde357789eb6d3abf5f8f975c0f550b9ceb9e7d2a
treefdf9e3330c39cb89c0ade6a8acf6455edd5f49a8
parent2c4f2499bc815bd573dc0ebc4733b64329ac824b
Clock loop start to loop start using Timer 0

Timer 0 is configured to overflow every 32 msec, which is the period we
wait when driving the main control loop.  Once a loop iteration has
completed its processing, it calls timer_owait() to wait on the next
overflow.
main.c
timer.c [new file with mode: 0644]
timer.h [new file with mode: 0644]