//#define ENABLE_BIT_DEFINITIONS //#define _SFR_ASM_COMPAT 1 #include #include #include "avrx.h" #include "hardware.h" /* …
OUTP 源代码
汇集 OUTP 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
//#define ENABLE_BIT_DEFINITIONS //#define _SFR_ASM_COMPAT 1 #include #include #include "avrx.h" #include "hardware.h" /* …
/* Timer Message Example This example shows: 1. A task that waits on a message queue for information or a timeo…
/* Example code for setting up and using timers Two tasks each waiting on a timer, flashing LED's on the evaluation board.…
/* Alternative Timer Message Example This example is identical to "MessageTimers.c" except that it uses the funct…
/* Messages with data included example This example shows: 1. How to extend the message queue element (MessageC…
/************************************************************ * Program: AVRGCC - RC5 Test * Comments: RC5 decoder * target …
; whiletest code beginning ENTER 1, 2 LODA 3 LODI 0 STO ET1: LOD 3 LODI 10 LES NFJP ET2 LOD 3 OUTP LODI ,…
; factorial code beginning ENTER 2, 0 CHGSFP 1 LODA 4 RSTSFR CHGSFP 1 LOD 4 RSTSFR LODI 1 ADD STO LOD -2…
; repeattest code beginning ENTER 1, 2 LODA 2 LODI 0 STO ET1: LOD 2 OUTP LODI , OUTP LODA 2 LOD 2 LODI 1…