« Reading from a port in the 6811 | Main | Disposable underpants having discrete outer seals »
March 11, 2004
6811 real time interrupts

I think those numbers on the left are the addresses of the various registers.
But, I was wrong. Tehre is a real time interrupt function. See section 10.2.2 on page 10-11. Period between interrupts is measured from interrupt to interrupt--not from clearing rti flag to next interrupt. You can set the RTI clock frequency using RTR1 and RTR0. Have to set the RTII bit to one to get hardware interrupts on RTI time outs. The question is how to register an ISR for the RTI when the RTII bit is set to one?
the TCNT value lives in $100E through $100F.
Here's some handy code in C that sets up an ISR for RTI on the 68hc11. I want that, but in assembly.
Posted by jones at March 11, 2004 09:13 PM
Comments
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)