📄 wmregisterdefs.h
字号:
/*-----------------------------------------------------------------------------
* Copyright (c) Wolfson Microelectronics plc. All rights reserved.
*
* This software as well as any related documentation is furnished under
* license and may only be used or copied in accordance with the terms of the
* license. The information in this file is furnished for informational use
* only, is subject to change without notice, and should not be construed as
* a commitment by Wolfson Microelectronics plc. Wolfson Microelectronics plc
* assumes no responsibility or liability for any errors or inaccuracies that
* may appear in this document or any software that may be provided in
* association with this document.
*
* Except as permitted by such license, no part of this document may be
* reproduced, stored in a retrieval system, or transmitted in any form or by
* any means without the express written consent of Wolfson Microelectronics plc.
*
* $Id: WMRegisterDefs.h 2335 2005-10-21 09:07:06Z ib $
*
* Common Wolfson codec register defines.
*
* Warning:
* This driver is specifically written for Wolfson devices. It is not a
* general device driver.
*
*---------------------------------------------------------------------------*/
#ifndef __WMREGISTERDEFS_H__
#define __WMREGISTERDEFS_H__
/*
* Include files
*/
#include "WMAudioDefs.h"
#include "WMGPIODefs.h"
#include "WMTouchDefs.h"
#include "WM8731RegisterDefs.h"
#include "WM8753RegisterDefs.h"
#include "WM97RegisterDefs.h"
#include "WM97AudioDefs.h"
/*
* The include files above give useful names to the registers for the
* corresponding device. For other Wolfson devices here are some generic
* register definitions.
*/
#define WM_REGADDR_0 0x00
#define WM_REGADDR_1 0x01
#define WM_REGADDR_2 0x02
#define WM_REGADDR_3 0x03
#define WM_REGADDR_4 0x04
#define WM_REGADDR_5 0x05
#define WM_REGADDR_6 0x06
#define WM_REGADDR_7 0x07
#define WM_REGADDR_8 0x08
#define WM_REGADDR_9 0x09
#define WM_REGADDR_10 0x0A
#define WM_REGADDR_11 0x0B
#define WM_REGADDR_12 0x0C
#define WM_REGADDR_13 0x0D
#define WM_REGADDR_14 0x0E
#define WM_REGADDR_15 0x0F
#define WM_REGADDR_16 0x10
#define WM_REGADDR_17 0x11
#define WM_REGADDR_18 0x12
#define WM_REGADDR_19 0x13
#define WM_REGADDR_20 0x14
#define WM_REGADDR_21 0x15
#define WM_REGADDR_22 0x16
#define WM_REGADDR_23 0x17
#define WM_REGADDR_24 0x18
#define WM_REGADDR_25 0x19
#define WM_REGADDR_26 0x1A
#define WM_REGADDR_27 0x1B
#define WM_REGADDR_28 0x1C
#define WM_REGADDR_29 0x1D
#define WM_REGADDR_30 0x1E
#define WM_REGADDR_31 0x1F
#define WM_REGADDR_32 0x20
#define WM_REGADDR_33 0x21
#define WM_REGADDR_34 0x22
#define WM_REGADDR_35 0x23
#define WM_REGADDR_36 0x24
#define WM_REGADDR_37 0x25
#define WM_REGADDR_38 0x26
#define WM_REGADDR_39 0x27
#define WM_REGADDR_40 0x28
#define WM_REGADDR_41 0x29
#define WM_REGADDR_42 0x2A
#define WM_REGADDR_43 0x2B
#define WM_REGADDR_44 0x2C
#define WM_REGADDR_45 0x2D
#define WM_REGADDR_46 0x2E
#define WM_REGADDR_47 0x2F
#define WM_REGADDR_48 0x30
#define WM_REGADDR_49 0x31
#define WM_REGADDR_50 0x32
#define WM_REGADDR_51 0x33
#define WM_REGADDR_52 0x34
#define WM_REGADDR_53 0x35
#define WM_REGADDR_54 0x36
#define WM_REGADDR_55 0x37
#define WM_REGADDR_56 0x38
#define WM_REGADDR_57 0x39
#define WM_REGADDR_58 0x3A
#define WM_REGADDR_59 0x3B
#define WM_REGADDR_60 0x3C
#define WM_REGADDR_61 0x3D
#define WM_REGADDR_62 0x3E
#define WM_REGADDR_63 0x3F
#define WM_GENERIC_I2S_MAX_REGISTER 0x3F
#define WM_GENERIC_I2S_REGISTER_COUNT (WM_GENERIC_I2S_MAX_REGISTER+1)
#endif /* __WMREGISTERDEFS_H__ */
/*------------------------------ END OF FILE ---------------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -