/* SPDX-License-Identifier: GPL-2.0-only */
/*
* wm2000.h -- WM2000 Soc Audio driver
*/
#ifndef _WM2000_H
#define _WM2000_H
#define WM2000_REG_SYS_START 0 x8000
#define WM2000_REG_ANC_GAIN_CTRL 0 x8fa2
#define WM2000_REG_MSE_TH2 0 x8fdf
#define WM2000_REG_MSE_TH1 0 x8fe0
#define WM2000_REG_SPEECH_CLARITY 0 x8fef
#define WM2000_REG_SYS_WATCHDOG 0 x8ff6
#define WM2000_REG_ANA_VMID_PD_TIME 0 x8ff7
#define WM2000_REG_ANA_VMID_PU_TIME 0 x8ff8
#define WM2000_REG_CAT_FLTR_INDX 0 x8ff9
#define WM2000_REG_CAT_GAIN_0 0 x8ffa
#define WM2000_REG_SYS_STATUS 0 x8ffc
#define WM2000_REG_SYS_MODE_CNTRL 0 x8ffd
#define WM2000_REG_SYS_START0 0 x8ffe
#define WM2000_REG_SYS_START1 0 x8fff
#define WM2000_REG_ID1 0 xf000
#define WM2000_REG_ID2 0 xf001
#define WM2000_REG_REVISON 0 xf002
#define WM2000_REG_SYS_CTL1 0 xf003
#define WM2000_REG_SYS_CTL2 0 xf004
#define WM2000_REG_ANC_STAT 0 xf005
#define WM2000_REG_IF_CTL 0 xf006
#define WM2000_REG_ANA_MIC_CTL 0 xf028
#define WM2000_REG_SPK_CTL 0 xf034
/* SPEECH_CLARITY */
#define WM2000_SPEECH_CLARITY 0 x01
/* SYS_STATUS */
#define WM2000_STATUS_MOUSE_ACTIVE 0 x40
#define WM2000_STATUS_CAT_FREQ_COMPLETE 0 x20
#define WM2000_STATUS_CAT_GAIN_COMPLETE 0 x10
#define WM2000_STATUS_THERMAL_SHUTDOWN_COMPLETE 0 x08
#define WM2000_STATUS_ANC_DISABLED 0 x04
#define WM2000_STATUS_POWER_DOWN_COMPLETE 0 x02
#define WM2000_STATUS_BOOT_COMPLETE 0 x01
/* SYS_MODE_CNTRL */
#define WM2000_MODE_ANA_SEQ_INCLUDE 0 x80
#define WM2000_MODE_MOUSE_ENABLE 0 x40
#define WM2000_MODE_CAT_FREQ_ENABLE 0 x20
#define WM2000_MODE_CAT_GAIN_ENABLE 0 x10
#define WM2000_MODE_BYPASS_ENTRY 0 x08
#define WM2000_MODE_STANDBY_ENTRY 0 x04
#define WM2000_MODE_THERMAL_ENABLE 0 x02
#define WM2000_MODE_POWER_DOWN 0 x01
/* SYS_CTL1 */
#define WM2000_SYS_STBY 0 x01
/* SYS_CTL2 */
#define WM2000_MCLK_DIV2_ENA_CLR 0 x80
#define WM2000_MCLK_DIV2_ENA_SET 0 x40
#define WM2000_ANC_ENG_CLR 0 x20
#define WM2000_ANC_ENG_SET 0 x10
#define WM2000_ANC_INT_N_CLR 0 x08
#define WM2000_ANC_INT_N_SET 0 x04
#define WM2000_RAM_CLR 0 x02
#define WM2000_RAM_SET 0 x01
/* ANC_STAT */
#define WM2000_ANC_ENG_IDLE 0 x01
#endif
Messung V0.5 in Prozent C=95 H=91 G=92
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-08)
¤
*© Formatika GbR, Deutschland