buffer.h

来自「用8051采用pwm方式播放 串口语音数据」· C头文件 代码 · 共 29 行

H
29
字号
/********************************************************************************************\
name        : buffer.h
description : export function for serial port flash and dac
author      :coolfire
data        :6/28/07
\********************************************************************************************/
#ifndef _BUF_H
#define _BUF_H/*includes*/

#include "..\compiler.h"
#include "..\serial\serial.h"
#include "..\flash\flash.h"
#include "..\dac\dac.h"
#include "..\wave\wav.h"

extern Uchar idata *pFlash;
extern Uchar idata *pSerial;
extern Uchar idata *pDac;

extern Uint32 data serialcounter;
extern Uint32 data flashcounter;
extern Uint32 data daccounter;
extern Uint32 data gl_counter;

void read_buffer(type_t type);
void write_buffer(type_t type);
void init_buffer();

#endif /*_BUF_H*/

⌨️ 快捷键说明

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