📄 readme.txt
字号:
AvrX for avr-gcc & IAR ICCAVR, version 2.6 example code
08-June-2001
After executing a "make clean" the directory listing is as follows:
Timers.c - Shows how to set up the AvrX Timer Queue mechanism,
start timers and wait for them.
Messages.c - Application showing the use of multiple messages to
communicate between applications
MessageAndData.c
- Application showing the use of data structure tacked
on to a message for passing information between processes.
MessageTimers.c - Application showing the use of EVENTS
to implement an asyncronous timeout while waiting for a
message.
MessageTimersAlt.c - an alternate way to structure the code.
*.avd - Astudio file defining the target simulation hardware
*.aio - Astudio file defining the session I/O window layout
makefile - the makefile
MAKEFILE instructions:
The makefile depends upon the environment variable AVRX being
set to the root directory of the AvrX distribution. E.g. the parent
directory where this ReadMe.txt file is found.
These examples were developed and compiled under avr-gcc 3.0
that can be found at
http://www.combio.de/avr
This is all for DOS/Windows, of course. For linux you will probably
have to hack the makefile.
Additional Notes:
The double "AVRX_TASKDEF()" macros are there simply to allow the files
to build for both IAR and GCC compilers. Naturally one would only use
the macro appropriate for the compiler in use.
The section that includes files is set up for IAR. It happens to be
compatible with GCC. For GCC only use, the following should work:
#include "io-avr.h"
#include "sig-avr.h"
As always, when in doubt, LOOK AT THE SOURCE. The source files are
*always* the last word on how something should work.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -