📄 sounder.h
字号:
/******************************************************************************
* File Name: sounder.h *
* Create Time: 2007/08/10 *
* Description: 控制发生器发出声音 *
* Author : *
* Version : *
*****************************************************************************/
#ifndef _SOUNDER_ /* Performed as a on-off, to avoid the header */
#define _SOUNDER_ /* file being included more than once */
/******************************
* Head File *
*****************************/
#include "config.h"
/******************************
* Macros Segment *
*****************************/
#define SOUNDER 0x01000000
#define SOUNDER_PINSEL 0xfffcffff //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 + -