Download avr-libc Reference Manual

Transcript
6.19 <avr/version.h>: avr-libc version macros
6.18.3
6.18.3.1
138
Function Documentation
void set_sleep_mode (uint8_t mode)
Select a sleep mode.
6.18.3.2
void sleep_cpu (void)
Put the device into sleep mode. The SE bit must be set beforehand, and it is recommended to clear it afterwards.
6.18.3.3
void sleep_disable (void)
Clear the SE (sleep enable) bit.
6.18.3.4
void sleep_enable (void)
Set the SE (sleep enable) bit.
6.18.3.5
void sleep_mode (void)
Put the device in sleep mode. How the device is brought out of sleep mode depends on
the specific mode selected with the set_sleep_mode() function. See the data sheet for
your device for more details.
6.19
<avr/version.h>: avr-libc version macros
6.19.1
Detailed Description
#include <avr/version.h>
This header file defines macros that contain version numbers and strings describing the
current version of avr-libc.
The version number itself basically consists of three pieces that are separated by a
dot: the major number, the minor number, and the revision number. For development
versions (which use an odd minor number), the string representation additionally gets
the date code (YYYYMMDD) appended.
This file will also be included by <avr/io.h>. That way, portable tests can be
implemented using <avr/io.h> that can be used in code that wants to remain
backwards-compatible to library versions prior to the date when the library version
API had been added, as referenced but undefined C preprocessor macros automatically
evaluate to 0.
Generated on Tue May 15 14:56:11 2007 for avr-libc by Doxygen