??? 02/02/05 18:06 Read: times |
#86396 - many ways Responding to: ???'s previous message |
Value16U = (THO*256) + TL0 or Value16U = (THO*256) | TL0 or Value16U = (THO<<8) + TL0 or Value16U = (THO<<8) | TL0 or a union or games with pointers BUT the "RTM" in short if the timer is running the second byte read may change before you read it. so you have to stop the timer before reading it. Or be clever reading it. |
Topic | Author | Date |
Getting the timers value into decimal | 01/01/70 00:00 | |
BCD | 01/01/70 00:00 | |
printf | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
whoops | 01/01/70 00:00 | |
8051 timers in 16-bit mode...reg | 01/01/70 00:00 | |
where to read, why not do | 01/01/70 00:00 | |
RTFM! | 01/01/70 00:00 | |
many ways![]() | 01/01/70 00:00 |