📄 global.h
字号:
#ifndef _GLOBAL_H
#define _GLOBAL_H
#include<stdlib.h>
typedef char int8_t;
typedef unsigned char u08 ;
typedef unsigned char uint8_t;
typedef unsigned int u16 ;
typedef unsigned int uint16_t;
typedef unsigned long u32 ;
typedef unsigned long uint32_t;
#define outb(a, b) (a=b)
//MCU时钟频率
#define F_CPU 16000000
#define _MCU_CLOCK_FREQUENCY_ 16000000
//默认的系统BAUD
#define baud 115200
//#define MCUBAUD9600 1
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -