readme.txt

来自「血凝仪检测系统,硬件电路部分由正弦波产生模块、前级放大与滤波模块、检测线圈、锁相」· 文本 代码 · 共 56 行

TXT
56
字号
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 + =
减小字号Ctrl + -
显示快捷键?