搜索结果
找到约 12 项符合
ifndef 的查询结果
单片机开发 头件的中的#ifndef
头件的中的#ifndef,这是一个很关键的东西。比如你有两个C文件,这两个C文件都include了同一个头文件。而编译时,这两个C文件要一同编译成一个可运行文件,于是问题来了
网络 关于 linux密钥的一些安全介绍 #ifndef COMMON_H #define COMMON_H #define MY_PROC_INTERFACE "/proc/learning
关于 linux密钥的一些安全介绍
#ifndef COMMON_H
#define COMMON_H
#define MY_PROC_INTERFACE "/proc/learning-key/gateway"
#define FRESH_SESSION _IO( C ,1)
#define SUCCESS 0
#define FAILURE 1
#endif
单片机开发 三星lcd驱动
三星lcd驱动,S6B0741,128X129FENBLV#ifndef _LCD_H_
#define _LCD_H_
#include "settings.h"
#include "Battery.h"
#include "EnDecode.h"
#include "main.h"
书籍 pid教程
pid控制
#ifndef _PID_H
#ifndef _PID_H
#ifdef _PID_C
    #define PID_EXT
#else
    #define PID_EXT extern
#endif
typedef struct PID
{
    int SetPoint;
    
    unsigned char BitMove;
    
   &n ...
其他 * TFTP client compatible with RFC-1350 * compile under visiual c++ or borland c++ * author email:
* TFTP client compatible with RFC-1350
* compile under visiual c++ or borland c++
* author email: yuyushine@163.com
***************************************************/
#define _VC /* if compile under visiual c++ else undefine this*/
#include <stdio.h>
#include <winsock.h>
#include <conio.h>
...
技术资料 ad7793 smpl
#ifndef AD7793_h
#define AD7793_h
//#define SPI_EN_ASS
void InitSPI(void);
void wAD7793(uint8_t RegAdr,uint32_t RegData);
void ResetAD7793(void);
uint32_t rAD7793(uint8_t RegAdr);
typedef struct
{
__I uint8_t len; // Register size (bits)
__I ...
单片机编程 51单片机实现的RS485通讯程序
#ifndef __485_C__
#define __485_C__
#include
#include
#define unsigned char uchar
#define unsigned int uint
/* 通信命令 */
#define __ACTIVE_ 0x01 // 主机询问从机是否存在
#define __GETDATA_ 0x02 // 主机发送读设备请求
#define __OK_ 0x03 // 从机应答
#define ...
技术资料 基于IAR的CC2530关于Flash的读写程序
# include <iocc2530.h># include <string.h># define uintunsigned int# define uchar unsigned char# define uint8 unsigned char# define uint16unsigned int# ifndef BV# define Bv(n)(1 << (n))fendif# define st (x)do (x} while (LINE==-1)/* SPI settings*/# define HAL SPI CLOCK POL LO0x00fdefine HAL SPI CLOCK ...
单片机编程 51单片机读写u盘(含源程序和原理图)
附件有51单片机加上sl811读写U盘的源程序和原理图
/*--------------------------------------------------------------------------AT89X52.H
Header file for the low voltage Flash Atmel AT89C52 and AT89LV52.Copyright (c) 1995-1996 Keil Software, Inc.&nbsp; All rights reserved.-------------------------------- ...