[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] small problem in Detailed Description section of util/atomic.
From: |
Britton Kerin |
Subject: |
[avr-chat] small problem in Detailed Description section of util/atomic.h documentation |
Date: |
Sat, 11 Apr 2015 10:19:54 -0800 |
The Detailed Description section contains this:
These macros operate via automatic manipulation of the Global Interrupt
Status (I) bit of the SREG register. Exit paths from both block types are
all managed automatically without the need for special considerations,
i. e. the interrupt status will be restored to the same value it has
been when entering the respective block.
I think the last sentence of this paragraph is not generally true, since it
depends on the ATOMIC_FORCEON or ATOMIC_RESTORESTATE attribute.
Britton
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-chat] small problem in Detailed Description section of util/atomic.h documentation,
Britton Kerin <=