⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 audio.h

📁 光电鼠标IC资料
💻 H
字号:
/*============================================================================
PROJECT...............: Wireless Headset
FILE..................: audio.h
INITIAL AUTHOR........: Nordic Semiconductor
INITIAL DATE..........: 15.04.2005
COMPILER..............: avr-gcc (GCC) 3.4.3

Description : 


Modification history:

DATE      		VERSION		COMMENT
-----------------------------------------------------------------------------
03.11.2006		1.0			Initial version
06.11.2006		1.1			Included function reset_codec().			  
============================================================================*/
#ifndef AUDIO_H
#define AUDIO_H

/***************************************************************************
* Library Includes
***************************************************************************/

/***************************************************************************
* Local Includes
***************************************************************************/
#include "application.h"

/***************************************************************************
* Constants
***************************************************************************/
// Instruction definitions
#define READ_REG	0xC0
#define WRITE_REG	0x80

// Register addresses
#define A_REG		0x00
#define B_REG		0x01
#define C_REG		0x02
#define D_REG		0x03
#define E_REG		0x04
#define F_REG		0x05
#define G_REG		0x06
#define H_REG		0x07
#define I_REG		0x08
#define J_REG		0x09
#define K_REG		0x0A
#define L_REG		0x0B
#define M_REG		0x0C
#define N_REG		0x0D
#define O_REG		0x0E
#define P_REG		0x0F


/***************************************************************************
* Types 
***************************************************************************/

/***************************************************************************
* Variables 
***************************************************************************/

/***************************************************************************
* Macros 
***************************************************************************/

/***************************************************************************
* Prototypes
***************************************************************************/
void init_codec(void);
void start_codec(void);
void reset_codec(void);
void stop_codec(void);
#endif

⌨️ 快捷键说明

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