搜索结果
找到约 24 项符合
macros 的查询结果
按分类筛选
单片机编程 MEGA16制作的电子时钟(附仿真图+源代码)
#include <iom16v.h>
#include <macros.h>
#define uchar unsigned char
#define uint unsigned int
uchar
num,miao,fen,shi,miaoge,miaoshi,fenge,fenshi,shig
单片机编程 ucos在ATMEGA128L上的移植
和其他的&mu;C/OS-II移植文件类似,设备代码由以下3 到5 个文件组成的。
Os_cpu.h
Os_cpu_c.c
Os_cpu_a.s90 (该文件仅在ICC 编译器中使用)
Os_cpu_i.s90 (该文件仅在ICC 编译器中使用)
Os_dbg.c
Os_dbg.c 仅需在IAR 工程中使用。
3.01 OS_CPU.H
3.01.01 OS_CPU.H, macros for &lsquo;externals&rsquo;
Listing 3 ...
压缩解压 DWT变换源代码
DWT变换源代码,As a special exception, you may use this file as part of a free
software library without restriction. Specifically, if other files
instantiate templates or use macros or inline functions from this
file, or you compile this file and link it with other files to
produce an executable, t ...
单片机编程 AVR单片机数码管秒表显示
#include<iom16v.h>
#include<macros.h>
#define uint unsigned int
#define uchar unsigned char
uint a,b,c,d=0;
void delay(c)
{ for for(a=0;a<c;a++)
for(b=0;b<12;b++);
};
uchar tab[]={
0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,
单片机编程 FREERTOS的官方移植文档
FeaturesThe following standard features are provided.&#8226; Choice of RTOS scheduling policy1. Pre-emptive:Always runs the highest available task. Tasks of identical priorityshare CPU time (fully pre-emptive with round robin time slicing).2. Cooperative:Context switches only occur if a task blocks, ...
其他行业 File: fw.c Contents: Firmware frameworks task dispatcher and device request parser File: FX2.h Co
File: fw.c
Contents: Firmware frameworks task dispatcher and device request parser
File: FX2.h
Contents: EZ-USB FX2 constants, macros, datatypes, globals, and library
function prototypes.
File: FX2regs.h
Contents: EZ-USB FX2 register declarations and bit mask definitions.
File: periph.c
Contents: H ...
编译器/解释器 IDE开发环境
IDE开发环境,可以挂载SDCC
The BASIC IDE is a new, RAD (Rapid Application Development) IDE (Integrated Development Environment) for the RapidQ programming language. The IDE currently has rich project options, a form designer (similar to Delphi s), and code editor. The BASIC IDE is being coded in Borl ...
技术资料 Stm32编译函数库
The STM32F10x Standard Peripherals Library is a complete package, consisting of device drivers for all of the standard device peripherals, for STM32 Value line(Medium and Low), Connectivity line, XL-, High-, Medium- and Low- Density Devices 32-bit Flash microcontrollers.
This library is a firmware p ...
数学计算 The tar file contains the following files: ptfsf.c: heart of the perfect TFSF code ptfsf.h: he
The tar file contains the following files:
ptfsf.c: heart of the perfect TFSF code
ptfsf.h: header file for same
ptfsf-demo.c: FDTD code which demonstrates use of perfect TFSF code. Essentially this program used to generate results shown in the paper
ptfsf-file-maker.c: code to generate an inci ...
技术资料 ucos-ii经典讲解,嵌入式操作系统ucos-ii的使用
为了实现资源共享,一个操作系统必须提供临界段擦作的功能。uC/OS-II为了处理临界段代码需要关中断,处理完毕后再开中断。这使得uC/OS-Ⅱ能够避免同时有其它任务或中断服务进入临界段代码。μC/OS-Ⅱ定义两个宏(macros)来开关中断。分别是:0S_ENTER_CRITICAL()和OS_EXIT_CRITICAL()。这两个宏的定义取决于所用的微处理 ...