📄 my_description.h
字号:
//#include "buffer.h"
//#include "bitbuf.h"
//#include "CDCtrl_chris.h"
//#include "buffer_chris.h"
//#include "extint_chris.h"
#define outw outb
#define inw inb
#define H 2
#define L 3
// read data bit
//bit = (byte & (1<<bitBuffer->bitPos))?(1):(0);
#define ReadBit(reg,bit_num) ( (reg & (1<<bit_num))?(1):(0) )
//this is used in the "void CD_RxCmdXLAT(void)" to indicate error
void error(void);
//read the high or low byte of u16 data ,HL is for the high or low byte
u08 u16TOu08( u16 data,u08 HL );
//compose two u08 byte to u16 word
u16 u08TOu16( u08 Hdata,u08 Ldata );
void delay_ms02(unsigned char time_ms);
//scan the key,use the position delay structure
u08 KeyScan(void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -