📄 pwt.h
字号:
/***************************************************
公司: 好易通科技有限公司
产品名: TETRA数字集群终端
CPU: OMAP5910
功能: PWT蜂鸣器测试程序
作者: 周卉
编写时间: 2005.02.22
****************************************************/
#ifndef PWT_H
#define PWT_H
/* Muti-control register */
#define COMP_MODE_CTRL_0 0xfffe100c
#define FUNC_MUX_CTRL_6 0xfffe101c
/* PWT regusters */
#define REG_PWT_FRC 0xfffb6000 //PWT frequency control
#define REG_PWT_VRC 0xfffb6004 //PWT volume control
#define REG_PWT_GCR 0xfffb6008 //PWT general control
/* MPU IO registers*/
#define REG_INPUT_LATCH 0xfffb5000 //General-purpose inputs
#define REG_OUTPUT_REG 0xfffb5004 //General-purpose outputs
#define REG_IO_CNTL 0xfffb5008 //In/out control for general-purpose I/O
void PWTOff(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -