📄 sounder.h
字号:
/****************************************Copyright (c)**************************************************/
/**
;** 西南科技大学计算机科学学院
;**
;** http://www.cs.suswt.edu.cn
;**
;** 日期: 2007/08/09
;** 描述: 西南科技大学计算机学院CS-II型实验板发声器驱动工作程序头文件
;** 作者:
;**
;**--------------sounder.h文件
;**------------------------------------------------------------------------------------------------------*/
/**------------------------------------------------------------------------------------------------------
********************************************************************************************************/
#ifndef _SOUNDER_H_ /* Performed as a on-off, to avoid the header */
#define _SOUNDER_H_ /* file being included more than once */
/******************************
* Head File *
*****************************/
#include "config.h"
/******************************
* Macros Segment *
*****************************/
#define SOUNDER 0x01000000 //P0.24
/******************************
* Function Declaration *
*****************************/
extern void SOUNDERInit(void); //发声器初始化程序
extern void SOUNDEROn(void); //发声器启动程序
extern void SOUNDEROff(void); //发声器关闭程序
#endif
/*******************************************************************************
* The end of the entire file *
******************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -