library.h

来自「自己编写的bootloader for S3c4510. 1、支持串口下载」· C头文件 代码 · 共 18 行

H
18
字号
#ifndef _LIBRARY_H
#define _LIBRARY_H
//-*****************************************-//
//The following declaration  is in the library.c 
//-*****************************************-//
void delay(int count);
void menu(void);
void BootLoader(char *last_ch);

void init_queue(seqqueue *Q);				//initialize the queue Q,empty
int  queue_empty(seqqueue Q);				//if queue Q is empty return TRUE, else return FALSE
int  queue_full(seqqueue Q);				//if queue Q is full return TRUE, else return FALSE
int  queue_front(seqqueue Q, char *x);		//read a valve from the front of the queue of Q, But do not change the front point 
int  Enqueue(seqqueue *Q, char x);			//add a valve in the end of the queue of Q
int  Outqueue(seqqueue *Q, char *x);		//read a valve from the end of the queue of Q, and change the front point. 		


#endif

⌨️ 快捷键说明

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