[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Different usage of pre defined modes
From: |
Volkmar Dierkes |
Subject: |
[avr-gcc-list] Different usage of pre defined modes |
Date: |
Sun, 5 Jan 2003 18:26:22 +0100 |
User-agent: |
40tude_Dialog/2.0.3.1 Hamster/2.0.0.0 |
Hi,
I found the following issue. If I want to go to ADC noise
cancelation mode I have to define the sleep mode via
set_sleep_mode(_BV(SLEEP_MODE_ADC));
But when I want to go to idle mode I must not use _BV:
set_sleep_mode(SLEEP_MODE_IDLE);
I think there is no other solution to get it to the same behaviour?
It isn't a relevant problem for me, but I think it would be fine to
have it in a same way.
Volkmar
avr-gcc-list at http://avr1.org
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] Different usage of pre defined modes,
Volkmar Dierkes <=