sounder.h
来自「arm7平台上的定时器操作」· C头文件 代码 · 共 35 行
H
35 行
/******************************************************************************
* 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 + =
减小字号Ctrl + -
显示快捷键?