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

📄 wm8976.txt

📁 WM8976 的信号寄存器采集配置
💻 TXT
字号:
*-------------------------------------------------------------------------------
* Wolfson Microelectronics device configuration file
* Created by WISCE utility at 18:08:35 on 2009-04-17
*
* Device type: WM8978
*-------------------------------------------------------------------------------

*-------------------------------------------------------------------------------
* Register operations have the following format:
*
*      <register> <value> <access_type> <action> [<dev_addr>] [<mask>]
*
* where:
*      <register>      is the register index
*      <value>         is the data value
*      <access_type>   is one of:
*          AC97_16_bit_data
*          3wire_9_bit_data
*          2wire_9_bit_data
*      <action>        is one of
*          Write         - write the given value
*          Read          - documents the value that was read
*          RModW         - read/modify/write
*                          (newval = (currval & ~<mask>) | <value>)
*      <dev_addr>      is the 2wire device address
*      <mask>          is the mask for the RModW operation
*
* for example:
*   R12  0x1234  AC97_16_bit_data Write
*     - this would write the hex value 0x1234 to register 12 (decimal)
*       using AC97
*
*   R36  0x1F5   2wire_9_bit_data Write 0x34
*     - this would write the hexadecimal value 0x1F5 to register
*       36 (decimal) on the 2-wire device at address 0x34 (hex)
*
*   0xC  4660    AC97_16_bit_data Write
*   0x24 501     2wire_9_bit_data Write 0x34
*     - these are the same two operations using hexadecimal registers
*       and decimal values
*
* Lines beginning with// are comments and are ignored when processing
* the file.
*
* The register index can be written either in decimal format, prefixed by 'R'
* or in hexadecimal format, prefixed by '0x'.
*
* For 9-bit 2- and 3-wire operations, <value> is the actual 9 bit register
* contents, NOT the 16 bit data word.
*
* Entries in a line can be separated by spaces or tabs. The amount of
* space between each entry does not matter but entries must be arranged
* in the correct order from left to right. A file can be created in a text
* editor (e.g. Notepad), or created in Excel and saved as .txt format
* (tab separated).
*
*-------------------------------------------------------------------------------

* ----- ------ -------------------- ------- --------- ------------------------------
*  REG   DATA         ACCESS        READ OR  DEVICE
* INDEX  VALUE         TYPE          WRITE   ADDRESS  COMMENT (for information only)
* ----- ------ -------------------- ------- --------- ------------------------------
   0x00   0x000 2wire_9_bit_data   Write     0x34       
    *   0x00 = 0x0000 (Line 0)
   0x01   0x001D 2wire_9_bit_data  Write  0x34  
 * Power management 1(01H): 001D  BUFDCOPEN=0, OUT4MIXEN=0, OUT3MIXEN=0, PLLEN=0, MICBEN=1, BIASEN=1, BUFIOEN=1, VMIDSEL=01

   0x02 0x003F 2wire_9_bit_data      Write  0x34     
 * Power management 2(02H): 003F  ROUT1EN=0, LOUT1EN=0, SLEEP=0, BOOSTENR=1, BOOSTENL=1, INPPGAENR=1, INPPGAENL=1, ADCENR=1, ADCENL=1

   0x04 0x0028 2wire_9_bit_data      Write  0x34      
* Audio Interface(04H):    0028  BCP=0, FRAMEP=0, WL=01, FMT=01, DLRSWAP=0, ALRSWAP=0, MONO=0

   0x06 0x0011 2wire_9_bit_data      Write  0x34    
  * Clock Gen control(06H):  0011  CLKSEL=0, MCLKDIV=000, BCLKDIV=100, MS=1

   0x2D 0x012A 2wire_9_bit_data      Write  0x34   
   * Left INP PGA gain ctrl(2DH): 012A  INPPGA UPDATE=1, INPPGAZCL=0, INPPGA      MUTEL=0, INPPGAVOLL=10_1010

⌨️ 快捷键说明

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