⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 C51驱动nrf24l01无线发送
💻 H
字号:
/*变量类型标识的宏定义,通常做法*/
#ifndef _CONFIG_H_
#define _CONFIG_H_	

typedef unsigned char		uchar ;		//优选
typedef unsigned char		Uchar	;	
typedef unsigned char		uint8	;	
typedef unsigned char		INT8U	;	
typedef signed char	 		int8 ;		
typedef unsigned int		uint ;		//优选
typedef unsigned int		Uint ;		
typedef unsigned int	 	uint16 ;	
typedef unsigned int 		INT16U ;	
typedef signed int	 		int16	;  	
typedef unsigned long		uint32 ;	
typedef unsigned long	  INT32U ;	
typedef signed long	 		int32 ;		

#define BIT0		(0x0001u)
#define BIT1		(0x0002u)
#define BIT2		(0x0004u)
#define BIT3 		(0x0008u)
#define BIT4		(0x0010u)
#define BIT5		(0x0020u)
#define BIT6		(0x0040u)
#define BIT7		(0x0080u)
#define BIT8		(0x0100u)
#define BIT9 		(0x0200u)
#define BITA		(0x0400u)
#define BITB		(0x0800u)
#define BITC		(0x1000u)
#define BITD		(0x2000u)
#define BITE		(0x4000u)
#define BITF		(0x8000u)
									 
#define ON  		1
#define OFF 		0
#define TRUE		1
#define FALSE		0
#define	true		1
#define false		0
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -