Subject:
|
Re: sys_time (long post)
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 13 Dec 2002 20:52:06 GMT
|
Viewed:
|
2729 times
|
| |
| |
Does the H8 let an interrupt interrupt an interrupt? (Or at least the
interrupts that matter in this case?) You two might want to check on that.
It would seem the code is safe if the answer to the first question is
no... ?
Maybe I'm missing something here, I just remember reading something
somewhere a long time ago about interrupts interrupting interrupts.
-Kekoa
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: sys_time (long post)
|
| (...) It turns out that the nature of the glitch depends on the order you read the upper and lower 16-bits of sys_time. If the compiler generates code that reads the high word first (which it seems to do), then your example will work. However, if (...) (22 years ago, 13-Dec-02, to lugnet.robotics.rcx.legos)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|