/[avr-libc]/avr-libc/doc/api/faq.dox
ViewVC logotype

Diff of /avr-libc/doc/api/faq.dox

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.39 by joerg_wunsch, Tue Sep 6 18:17:43 2005 UTC revision 1.40 by joerg_wunsch, Fri Nov 4 22:55:15 2005 UTC
# Line 65  When using the optimizer, in a loop like Line 65  When using the optimizer, in a loop like
65  \code  \code
66  uint8_t flag;  uint8_t flag;
67  ...  ...
68  SIGNAL(SIG_SOMETHING) {  ISR(SOME_vect) {
69    flag = 1;    flag = 1;
70  }  }
71  ...  ...
# Line 324  context could clobber the TEMP register Line 324  context could clobber the TEMP register
324  transaction that has just started elsewhere.  transaction that has just started elsewhere.
325    
326  To protect interrupt routines against other interrupt routines, it's  To protect interrupt routines against other interrupt routines, it's
327  usually best to use the SIGNAL() macro when declaring the interrupt  usually best to use the ISR() macro when declaring the interrupt
328  function, and to ensure that interrupts are still disabled when  function, and to ensure that interrupts are still disabled when
329  accessing those 16-bit timer registers.  accessing those 16-bit timer registers.
330    

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26