.
*
* Copyright (cdefineAC97_GPIO_LINE1_HL1R x0020/
* Universal interface for Audio Codec '97
*
* For more detailsdefinex/* Opt./ Handset off hook detect Line1 (in) */
http
*/ /* *AC'97codecregisters/java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
*/
#define AC97_RESET 0x00 /* Reset */ #define AC97_MASTER #define AC97_HEADPHONE 0x04 /* Headphone Volume (optional) */ #define AC97_MASTER_MONO 0x06 /* Master Volume Mono (optional) */ #define AC97_MASTER_TONE 0x08 /* Master Tone (Bass & Treble) (optional) */ #define AC97_PC_BEEP 0x0a /* PC Beep Volume (optional) */ #define AC97_PHONE 0x0c /* Phone Volume (optional) */ #define AC97_MIC 0x0e /* MIC Volume */ #define AC97_LINE 0x10 /* Line In Volume */ #define AC97_CD 0x12 /* CD Volume */ #define AC97_VIDEO 0x14 /* Video Volume (optional) */ #define AC97_AUX 0x16 /* AUX Volume (optional) */ #define AC97_PCM 0x18 /* PCM Volume */ #define AC97_REC_SEL 0x1a /* Record Select */ #define AC97_REC_GAIN 0x1c /* Record Gain */ #define AC97_REC_GAIN_MIC 0x1e /* Record Gain MIC (optional) */ #define AC97_GENERAL_PURPOSE 0x20 /* General Purpose (optional) */ #define AC97_3D_CONTROL 0x22 /* 3D Control (optional) */ #define AC97_INT_PAGING 0x24 /* Audio Interrupt & Paging (AC'97 2.3) */ #define AC97_POWERDOWN 0x26 /* Powerdown control / status */ /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ #define AC97_EXTENDED_ID 0x28 /* Extended Audio ID */ #define AC97_EXTENDED_STATUS 0x2a /* Extended Audio Status and Control */ #define AC97_PCM_FRONT_DAC_RATE 0x2c /* PCM Front DAC Rate */ #define AC97_PCM_SURR_DAC_RATE 0x2e /* PCM Surround DAC Rate */ #define AC97_PCM_LFE_DAC_RATE 0x30 /* PCM LFE DAC Rate */ #define AC97_PCM_LR_ADC_RATE 0x32 /* PCM LR ADC Rate */ #define AC97_PCM_MIC_ADC_RATE 0x34 /* PCM MIC ADC Rate */ #define AC97_CENTER_LFE_MASTER 0x36 /* Center + LFE Master Volume */ #define AC97_SURROUND_MASTER 0x38 /* Surround (Rear) Master Volume */ #define AC97_SPDIF 0x3a /* S/PDIF control */ /* range 0x3c-0x58 - MODEM */ #define AC97_EXTENDED_MID 0x3c /* Extended Modem ID */ #define AC97_EXTENDED_MSTATUS 0x3e /* Extended Modem Status and Control */ #define AC97_LINE1_RATE 0x40 /* Line1 DAC/ADC Rate */ #define AC97_LINE2_RATE 0x42 /* Line2 DAC/ADC Rate */ #define AC97_HANDSET_RATE 0x44 /* Handset DAC/ADC Rate */ #define AC97_LINE1_LEVEL 0x46 /* Line1 DAC/ADC Level */ #define AC97_LINE2_LEVEL 0x48 /* Line2 DAC/ADC Level */ #define AC97_HANDSET_LEVEL 0x4a /* Handset DAC/ADC Level */ #define AC97_GPIO_CFG 0x4c /* GPIO Configuration */ #define AC97_GPIO_POLARITY 0x4e /* GPIO Pin Polarity/Type, 0=low, 1=high active */ #define AC97_GPIO_STICKY 0x50 /* GPIO Pin Sticky, 0=not, 1=sticky */ #define AC97_GPIO_WAKEUP 0x52 /* GPIO Pin Wakeup, 0=no int, 1=yes int */ #define AC97_GPIO_STATUS 0x54 /* GPIO Pin Status, slot 12 */ #define AC97_MISC_AFE 0x56 /* Miscellaneous Modem AFE Status and Control */ /* range 0x5a-0x7b - Vendor Specific */ #define AC97_VENDOR_ID1 0x7c /* Vendor ID1 */ #define AC97_VENDOR_ID2 0x7e /* Vendor ID2 / revision */ /* range 0x60-0x6f (page 1) - extended codec registers */ #define AC97_CODEC_CLASS_REV 0x60 /* Codec Class/Revision */ #define AC97_PCI_SVID 0x62 /* PCI Subsystem Vendor ID */ #define AC97_PCI_SID 0x64 /* PCI Subsystem ID */ #define AC97_FUNC_SELECT 0x66 /* Function Select */ #define AC97_FUNC_INFO 0x68 /* Function Information */ #define AC97_SENSE_INFO 0x6a /* Sense Details */
/* extended modem ID bit defines */ #define AC97_MEI_LINE1 0x0001 /* Line1 present */ #define AC97_MEI_LINE2 0x0002 /* Line2 present */ #define AC97_MEI_HANDSET 0x0004 /* Handset present */ #define AC97_MEI_CID1 0x0008 /* caller ID decode for Line1 is supported */ #define AC97_MEI_CID2 0x0010 /* caller ID decode for Line2 is supported */ #define AC97_MEI_ADDR_MASK 0xc000 /* physical codec ID (address) */ #define AC97_MEI_ADDR_SHIFT 14
/* extended modem status and control bit defines */ #define AC97_MEA_GPIO 0x0001 /* GPIO is ready (ro) */ #define AC97_MEA_MREF 0x0002 /* Vref is up to nominal level (ro) */ #define AC97_MEA_ADC1 0x0004 /* ADC1 operational (ro) */ #define AC97_MEA_DAC1 0x0008 /* DAC1 operational (ro) */ #define AC97_MEA_ADC2 0x0010 /* ADC2 operational (ro) */ #define AC97_MEA_DAC2 0x0020 /* DAC2 operational (ro) */ #define AC97_MEA_HADC 0x0040 /* HADC operational (ro) */ #define AC97_MEA_HDAC 0x0080 /* HDAC operational (ro) */ #define AC97_MEA_PRA 0x0100 /* GPIO power down (high) */ #define AC97_MEA_PRB 0x0200 /* reserved */ #define AC97_MEA_PRC 0x0400 /* ADC1 power down (high) */ #define AC97_MEA_PRD 0x0800 /* DAC1 power down (high) */ #define AC97_MEA_PRE 0x1000 /* ADC2 power down (high) */ #define AC97_MEA_PRF 0x2000 /* DAC2 power down (high) */ #define AC97_MEA_PRG 0x4000 /* HADC power down (high) */ #define AC97_MEA_PRH 0x8000 /* HDAC power down (high) */
/* modem gpio status defines */ #define AC97_GPIO_LINE1_OH 0x0001 /* Off Hook Line1 */ #define AC97_GPIO_LINE1_RI 0x0002 /* Ring Detect Line1 */ #define AC97_GPIO_LINE1_CID 0x0004 /* Caller ID path enable Line1 */ #define AC97_GPIO_LINE1_LCS 0x0008 /* Loop Current Sense Line1 */ #define AC97_GPIO_LINE1_PULSE 0x0010 /* Opt./ Pulse Dial Line1 (out) */ #define AC97_GPIO_LINE1_HL1R 0x0020 /* Opt./ Handset to Line1 relay control (out) */ #define AC97_GPIO_LINE1_HOHD 0x0040 /* Opt./ Handset off hook detect Line1 (in) */ #define AC97_GPIO_LINE12_AC 0x0080 /* Opt./ Int.bit 1 / Line1/2 AC (out) */ #define AC97_GPIO_LINE12_DC 0x0100 /* Opt./ Int.bit 2 / Line1/2 DC (out) */ #define AC97_GPIO_LINE12_RS 0x0200 /* Opt./ Int.bit 3 / Line1/2 RS (out) */ #define AC97_GPIO_LINE2_OH 0x0400 /* Off Hook Line2 */ #define AC97_GPIO_LINE2_RI 0x0800 /* Ring Detect Line2 */ #define AC97_GPIO_LINE2_CID 0x1000 /* Caller ID path enable Line2 */ #define AC97_GPIO_LINE2_LCS 0x2000 /* Loop Current Sense Line2 */ #define AC97_GPIO_LINE2_PULSE 0x4000 /* Opt./ Pulse Dial Line2 (out) */ #define AC97_GPIO_LINE2_HL1R 0x8000 /* Opt./ Handset to Line2 relay control (out) */
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.5Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.