| ??? 09/09/02 12:38 Read: times |
#28891 - RE: Delaying interrupts |
"I could not find a way to delay interrupts using the IE SFR... "
It's really simple Kundi: The question was how to ensure that a piece of code is not interrupted. This can be easily done by 'bracketing' the code with disable/enable interrupts. The interrupt enable flags are contained in the IE register and that's what Erik was referring to. Example (in pseudocode): clear EA // disable all interrupts code-that-is-not-to-be-interrupted // execute the code set EA // re-enable interrupts Best regards, Rob. PS. The post above this one is basically about the same thing. |
| Topic | Author | Date |
| Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts Nic | 01/01/70 00:00 | |
| RE: Delaying interrupts Nic | 01/01/70 00:00 | |
| RE: Delaying interrupts Nic | 01/01/70 00:00 | |
| RE: Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts | 01/01/70 00:00 | |
| RE: Delaying interrupts, Nic | 01/01/70 00:00 | |
RE: Delaying interrupts | 01/01/70 00:00 |



