📄 config.h
字号:
#ifndef __config_H__
#define __config_H__ 1
#define M32 1
#define CPU_TYPE M32
//#define F_CPU 14745600
#define F_CPU 1000000
/*********************************************/
/*********************************************/
#include <iom32v.h>
#include <string.h>
#include <FLOAT.H>
#include <math.h>
#include <stdlib.h>
#include <macros.h>
#include <eeprom.h>
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef NULL
#define NULL 0
#endif
typedef unsigned char uint8; /* 定义可移植的无符号8位整数关键字 */
typedef signed char int8; /* 定义可移植的有符号8位整数关键字 */
typedef unsigned int uint16; /* 定义可移植的无符号16位整数关键字 */
typedef signed int int16; /* 定义可移植的有符号16位整数关键字 */
typedef unsigned long uint32; /* 定义可移植的无符号32位整数关键字 */
typedef signed long int32; /* 定义可移植的有符号32位整数关键字 */
//#include "sio.h"
#endif
/**********************end****************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -