Macros | |
#define | AUDIO_FREQUENCY_11K ((uint32_t)11025) |
#define | AUDIO_FREQUENCY_16K ((uint32_t)16000) |
#define | AUDIO_FREQUENCY_192K ((uint32_t)192000) |
#define | AUDIO_FREQUENCY_22K ((uint32_t)22050) |
#define | AUDIO_FREQUENCY_32K ((uint32_t)32000) |
#define | AUDIO_FREQUENCY_44K ((uint32_t)44100) |
#define | AUDIO_FREQUENCY_48K ((uint32_t)48000) |
#define | AUDIO_FREQUENCY_8K ((uint32_t)8000) |
#define | AUDIO_FREQUENCY_96K ((uint32_t)96000) |
#define | AUDIO_MUTE_OFF 0 |
#define | AUDIO_MUTE_ON 1 |
#define | AUDIO_PAUSE 0 |
#define | AUDIO_RESUME 1 |
#define | CODEC_PDWN_HW 1 |
#define | CODEC_PDWN_SW 2 |
#define | DEFAULT_VOLMAX 0xFF |
#define | DEFAULT_VOLMIN 0x00 |
#define | DEFAULT_VOLSTEP 0x04 |
#define | INPUT_DEVICE_DIGITAL_MIC1_MIC2 ((uint16_t)0x0800) |
#define | INPUT_DEVICE_DIGITAL_MICROPHONE_1 ((uint16_t)0x0100) |
#define | INPUT_DEVICE_DIGITAL_MICROPHONE_2 ((uint16_t)0x0200) |
#define | INPUT_DEVICE_INPUT_LINE_1 ((uint16_t)0x0300) |
#define | INPUT_DEVICE_INPUT_LINE_2 ((uint16_t)0x0400) |
#define | OUTPUT_DEVICE_AUTO ((uint16_t)0x0004) |
#define | OUTPUT_DEVICE_BOTH ((uint16_t)0x0003) |
#define | OUTPUT_DEVICE_HEADPHONE ((uint16_t)0x0002) |
#define | OUTPUT_DEVICE_SPEAKER ((uint16_t)0x0001) |
#define | VOLUME_CONVERT(Volume) (((Volume) > 100)? 100:((uint8_t)(((Volume) * 63) / 100))) |
#define | VOLUME_IN_CONVERT(Volume) (((Volume) >= 100)? 239:((uint8_t)(((Volume) * 240) / 100))) |
#define | VOLUME_IN_INVERT(Volume) ((uint8_t)(((Volume) * 100) / 239)) |
#define | VOLUME_INPUT 0U |
#define | VOLUME_OUT_INVERT(Volume) ((uint8_t)(((Volume) * 100) / 63)) |
#define | VOLUME_OUTPUT 1U |
#define | WM8994_ADD_CONTROL (uint16_t)0x0037 |
#define | WM8994_AIF1_ADC1_FILTERS (uint16_t)0x0410 |
#define | WM8994_AIF1_ADC1_LEFT_VOL (uint16_t)0x0400 |
#define | WM8994_AIF1_ADC1_LMR (uint16_t)0x0606 |
#define | WM8994_AIF1_ADC1_RIGHT_VOL (uint16_t)0x0401 |
#define | WM8994_AIF1_ADC1_RMR (uint16_t)0x0607 |
#define | WM8994_AIF1_ADC2_FILTERS (uint16_t)0x0411 |
#define | WM8994_AIF1_ADC2_LEFT_VOL (uint16_t)0x0404 |
#define | WM8994_AIF1_ADC2_LMR (uint16_t)0x0608 |
#define | WM8994_AIF1_ADC2_RIGHT_VOL (uint16_t)0x0405 |
#define | WM8994_AIF1_ADC2_RMR (uint16_t)0x0609 |
#define | WM8994_AIF1_ADC_DELTA (uint16_t)0x0307 |
#define | WM8994_AIF1_ADC_LRCLK (uint16_t)0x0304 |
#define | WM8994_AIF1_BCLK (uint16_t)0x0303 |
#define | WM8994_AIF1_CLOCKING1 (uint16_t)0x0200 |
#define | WM8994_AIF1_CLOCKING2 (uint16_t)0x0201 |
#define | WM8994_AIF1_CONTROL1 (uint16_t)0x0300 |
#define | WM8994_AIF1_CONTROL2 (uint16_t)0x0301 |
#define | WM8994_AIF1_DAC1_EQG_1 (uint16_t)0x0480 |
#define | WM8994_AIF1_DAC1_EQG_1A (uint16_t)0x0482 |
#define | WM8994_AIF1_DAC1_EQG_1B (uint16_t)0x0483 |
#define | WM8994_AIF1_DAC1_EQG_1PG (uint16_t)0x0484 |
#define | WM8994_AIF1_DAC1_EQG_2 (uint16_t)0x0481 |
#define | WM8994_AIF1_DAC1_EQG_2A (uint16_t)0x0485 |
#define | WM8994_AIF1_DAC1_EQG_2B (uint16_t)0x0486 |
#define | WM8994_AIF1_DAC1_EQG_2C (uint16_t)0x0487 |
#define | WM8994_AIF1_DAC1_EQG_2PG (uint16_t)0x0488 |
#define | WM8994_AIF1_DAC1_EQG_3A (uint16_t)0x0489 |
#define | WM8994_AIF1_DAC1_EQG_3B (uint16_t)0x048A |
#define | WM8994_AIF1_DAC1_EQG_3C (uint16_t)0x048B |
#define | WM8994_AIF1_DAC1_EQG_3PG (uint16_t)0x048C |
#define | WM8994_AIF1_DAC1_EQG_4A (uint16_t)0x048D |
#define | WM8994_AIF1_DAC1_EQG_4B (uint16_t)0x048E |
#define | WM8994_AIF1_DAC1_EQG_4C (uint16_t)0x048F |
#define | WM8994_AIF1_DAC1_EQG_4PG (uint16_t)0x0490 |
#define | WM8994_AIF1_DAC1_EQG_5A (uint16_t)0x0491 |
#define | WM8994_AIF1_DAC1_EQG_5B (uint16_t)0x0492 |
#define | WM8994_AIF1_DAC1_EQG_5PG (uint16_t)0x0493 |
#define | WM8994_AIF1_DAC1_FILTER1 (uint16_t)0x0420 |
#define | WM8994_AIF1_DAC1_FILTER2 (uint16_t)0x0421 |
#define | WM8994_AIF1_DAC1_LEFT_VOL (uint16_t)0x0402 |
#define | WM8994_AIF1_DAC1_LMR (uint16_t)0x0601 |
#define | WM8994_AIF1_DAC1_RIGHT_VOL (uint16_t)0x0403 |
#define | WM8994_AIF1_DAC1_RMR (uint16_t)0x0602 |
#define | WM8994_AIF1_DAC2_EQG_1 (uint16_t)0x04A0 |
#define | WM8994_AIF1_DAC2_EQG_1A (uint16_t)0x04A2 |
#define | WM8994_AIF1_DAC2_EQG_1B (uint16_t)0x04A3 |
#define | WM8994_AIF1_DAC2_EQG_1PG (uint16_t)0x04A4 |
#define | WM8994_AIF1_DAC2_EQG_2 (uint16_t)0x04A1 |
#define | WM8994_AIF1_DAC2_EQG_2A (uint16_t)0x04A5 |
#define | WM8994_AIF1_DAC2_EQG_2B (uint16_t)0x04A6 |
#define | WM8994_AIF1_DAC2_EQG_2C (uint16_t)0x04A7 |
#define | WM8994_AIF1_DAC2_EQG_2PG (uint16_t)0x04A8 |
#define | WM8994_AIF1_DAC2_EQG_3A (uint16_t)0x04A9 |
#define | WM8994_AIF1_DAC2_EQG_3B (uint16_t)0x04AA |
#define | WM8994_AIF1_DAC2_EQG_3C (uint16_t)0x04AB |
#define | WM8994_AIF1_DAC2_EQG_3PG (uint16_t)0x04AC |
#define | WM8994_AIF1_DAC2_EQG_4A (uint16_t)0x04AD |
#define | WM8994_AIF1_DAC2_EQG_4B (uint16_t)0x04AE |
#define | WM8994_AIF1_DAC2_EQG_4C (uint16_t)0x04AF |
#define | WM8994_AIF1_DAC2_EQG_4PG (uint16_t)0x04B0 |
#define | WM8994_AIF1_DAC2_EQG_5A (uint16_t)0x04B1 |
#define | WM8994_AIF1_DAC2_EQG_5B (uint16_t)0x04B2 |
#define | WM8994_AIF1_DAC2_EQG_5PG (uint16_t)0x04B3 |
#define | WM8994_AIF1_DAC2_FILTER1 (uint16_t)0x0422 |
#define | WM8994_AIF1_DAC2_FILTER2 (uint16_t)0x0423 |
#define | WM8994_AIF1_DAC2_LEFT_VOL (uint16_t)0x0406 |
#define | WM8994_AIF1_DAC2_LMR (uint16_t)0x0604 |
#define | WM8994_AIF1_DAC2_RIGHT_VOL (uint16_t)0x0407 |
#define | WM8994_AIF1_DAC2_RMR (uint16_t)0x0605 |
#define | WM8994_AIF1_DAC_DELTA (uint16_t)0x0306 |
#define | WM8994_AIF1_DAC_LRCLK (uint16_t)0x0305 |
#define | WM8994_AIF1_DRC1 (uint16_t)0x0440 |
#define | WM8994_AIF1_DRC1_1 (uint16_t)0x0441 |
#define | WM8994_AIF1_DRC1_2 (uint16_t)0x0442 |
#define | WM8994_AIF1_DRC1_3 (uint16_t)0x0443 |
#define | WM8994_AIF1_DRC1_4 (uint16_t)0x0444 |
#define | WM8994_AIF1_DRC2 (uint16_t)0x0450 |
#define | WM8994_AIF1_DRC2_1 (uint16_t)0x0451 |
#define | WM8994_AIF1_DRC2_2 (uint16_t)0x0452 |
#define | WM8994_AIF1_DRC2_3 (uint16_t)0x0453 |
#define | WM8994_AIF1_DRC2_4 (uint16_t)0x0454 |
#define | WM8994_AIF1_MASTER_SLAVE (uint16_t)0x0302 |
#define | WM8994_AIF1_RATE (uint16_t)0x0210 |
#define | WM8994_AIF2_ADC_DELTA (uint16_t)0x0317 |
#define | WM8994_AIF2_ADC_FILTERS (uint16_t)0x0510 |
#define | WM8994_AIF2_ADC_LEFT_VOL (uint16_t)0x0500 |
#define | WM8994_AIF2_ADC_LRCLK (uint16_t)0x0314 |
#define | WM8994_AIF2_ADC_RIGHT_VOL (uint16_t)0x0501 |
#define | WM8994_AIF2_BCLK (uint16_t)0x0313 |
#define | WM8994_AIF2_CLOCKING1 (uint16_t)0x0204 |
#define | WM8994_AIF2_CLOCKING2 (uint16_t)0x0205 |
#define | WM8994_AIF2_CONTROL1 (uint16_t)0x0310 |
#define | WM8994_AIF2_CONTROL2 (uint16_t)0x0311 |
#define | WM8994_AIF2_DAC_DELTA (uint16_t)0x0316 |
#define | WM8994_AIF2_DAC_FILTER_1 (uint16_t)0x0520 |
#define | WM8994_AIF2_DAC_FILTER_2 (uint16_t)0x0521 |
#define | WM8994_AIF2_DAC_LEFT_VOL (uint16_t)0x0502 |
#define | WM8994_AIF2_DAC_LRCLK (uint16_t)0x0315 |
#define | WM8994_AIF2_DAC_RIGHT_VOL (uint16_t)0x0503 |
#define | WM8994_AIF2_DRC_1 (uint16_t)0x0540 |
#define | WM8994_AIF2_DRC_2 (uint16_t)0x0541 |
#define | WM8994_AIF2_DRC_3 (uint16_t)0x0542 |
#define | WM8994_AIF2_DRC_4 (uint16_t)0x0543 |
#define | WM8994_AIF2_DRC_5 (uint16_t)0x0544 |
#define | WM8994_AIF2_EQG_1 (uint16_t)0x0580 |
#define | WM8994_AIF2_EQG_1A (uint16_t)0x0582 |
#define | WM8994_AIF2_EQG_1B (uint16_t)0x0583 |
#define | WM8994_AIF2_EQG_1PG (uint16_t)0x0584 |
#define | WM8994_AIF2_EQG_2 (uint16_t)0x0581 |
#define | WM8994_AIF2_EQG_2A (uint16_t)0x0585 |
#define | WM8994_AIF2_EQG_2B (uint16_t)0x0586 |
#define | WM8994_AIF2_EQG_2C (uint16_t)0x0587 |
#define | WM8994_AIF2_EQG_2PG (uint16_t)0x0588 |
#define | WM8994_AIF2_EQG_3A (uint16_t)0x0589 |
#define | WM8994_AIF2_EQG_3B (uint16_t)0x058A |
#define | WM8994_AIF2_EQG_3C (uint16_t)0x058B |
#define | WM8994_AIF2_EQG_3PG (uint16_t)0x058C |
#define | WM8994_AIF2_EQG_4A (uint16_t)0x058D |
#define | WM8994_AIF2_EQG_4B (uint16_t)0x058E |
#define | WM8994_AIF2_EQG_4C (uint16_t)0x058F |
#define | WM8994_AIF2_EQG_4PG (uint16_t)0x0590 |
#define | WM8994_AIF2_EQG_5A (uint16_t)0x0591 |
#define | WM8994_AIF2_EQG_5B (uint16_t)0x0592 |
#define | WM8994_AIF2_EQG_5PG (uint16_t)0x0593 |
#define | WM8994_AIF2_MASTER_SLAVE (uint16_t)0x0312 |
#define | WM8994_AIF2_RATE (uint16_t)0x0211 |
#define | WM8994_ANALOG_HP (uint16_t)0x0060 |
#define | WM8994_ANTIPOP1 (uint16_t)0x0038 |
#define | WM8994_ANTIPOP2 (uint16_t)0x0039 |
#define | WM8994_CHARGE_PUMP1 (uint16_t)0x004C |
#define | WM8994_CHARGE_PUMP2 (uint16_t)0x004D |
#define | WM8994_CHIP_REVISION (uint16_t)0x0100 |
#define | WM8994_CHIPID_ADDR 0x00 |
Device ID Register: Reading from this register will indicate device family ID 8994h. More... | |
#define | WM8994_CLASS_D (uint16_t)0x0025 |
#define | WM8994_CLASS_W (uint16_t)0x0051 |
#define | WM8994_CLOCKING1 (uint16_t)0x0208 |
#define | WM8994_CLOCKING2 (uint16_t)0x0209 |
#define | WM8994_CONTROL_INTERFACE (uint16_t)0x0101 |
#define | WM8994_DAC1_LEFT_VOL (uint16_t)0x0610 |
#define | WM8994_DAC1_MIXER_VOL (uint16_t)0x0600 |
#define | WM8994_DAC1_RIGHT_VOL (uint16_t)0x0611 |
#define | WM8994_DAC2_LEFT_VOL (uint16_t)0x0612 |
#define | WM8994_DAC2_MIXER_VOL (uint16_t)0x0603 |
#define | WM8994_DAC2_RIGHT_VOL (uint16_t)0x0613 |
#define | WM8994_DAC_SOFTMUTE (uint16_t)0x0614 |
#define | WM8994_DC_SERVO1 (uint16_t)0x0054 |
#define | WM8994_DC_SERVO2 (uint16_t)0x0055 |
#define | WM8994_DC_SERVO_READBACK (uint16_t)0x0058 |
#define | WM8994_DC_SERVO_WRITEVAL (uint16_t)0x0059 |
#define | WM8994_ERROR (-1) |
#define | WM8994_FLL1_CONTROL1 (uint16_t)0x0220 |
#define | WM8994_FLL1_CONTROL2 (uint16_t)0x0221 |
#define | WM8994_FLL1_CONTROL3 (uint16_t)0x0222 |
#define | WM8994_FLL1_CONTROL4 (uint16_t)0x0223 |
#define | WM8994_FLL1_CONTROL5 (uint16_t)0x0224 |
#define | WM8994_FLL2_CONTROL1 (uint16_t)0x0240 |
#define | WM8994_FLL2_CONTROL2 (uint16_t)0x0241 |
#define | WM8994_FLL2_CONTROL3 (uint16_t)0x0242 |
#define | WM8994_FLL2_CONTROL4 (uint16_t)0x0243 |
#define | WM8994_FLL2_CONTROL5 (uint16_t)0x0244 |
#define | WM8994_FREQUENCY_11K 11025 |
#define | WM8994_FREQUENCY_16K 16000 |
#define | WM8994_FREQUENCY_176K 176400 |
#define | WM8994_FREQUENCY_192K 192000 |
#define | WM8994_FREQUENCY_22K 22050 |
#define | WM8994_FREQUENCY_32K 32000 |
#define | WM8994_FREQUENCY_44K 44100 |
#define | WM8994_FREQUENCY_48K 48000 |
#define | WM8994_FREQUENCY_88K 88200 |
#define | WM8994_FREQUENCY_8K 8000 |
#define | WM8994_FREQUENCY_96K 96000 |
#define | WM8994_GPIO1 (uint16_t)0x0700 |
#define | WM8994_GPIO10 (uint16_t)0x0709 |
#define | WM8994_GPIO11 (uint16_t)0x070A |
#define | WM8994_GPIO2 (uint16_t)0x0701 |
#define | WM8994_GPIO3 (uint16_t)0x0702 |
#define | WM8994_GPIO4 (uint16_t)0x0703 |
#define | WM8994_GPIO5 (uint16_t)0x0704 |
#define | WM8994_GPIO6 (uint16_t)0x0705 |
#define | WM8994_GPIO7 (uint16_t)0x0706 |
#define | WM8994_GPIO8 (uint16_t)0x0707 |
#define | WM8994_GPIO9 (uint16_t)0x0708 |
#define | WM8994_ID 0x8994 |
WM8994 ID More... | |
#define | WM8994_ID 0x8994U |
WM8994 ID More... | |
#define | WM8994_IN_LINE1 0x03U |
#define | WM8994_IN_LINE2 0x04U |
#define | WM8994_IN_MIC1 0x01U |
#define | WM8994_IN_MIC1_MIC2 0x05U |
#define | WM8994_IN_MIC2 0x02U |
#define | WM8994_IN_NONE 0x00U |
#define | WM8994_INPUT_MIXER_1 (uint16_t)0x0015 |
#define | WM8994_INPUT_MIXER_2 (uint16_t)0x0028 |
#define | WM8994_INPUT_MIXER_3 (uint16_t)0x0029 |
#define | WM8994_INPUT_MIXER_4 (uint16_t)0x002A |
#define | WM8994_INPUT_MIXER_5 (uint16_t)0x002B |
#define | WM8994_INPUT_MIXER_6 (uint16_t)0x002C |
#define | WM8994_INT_CONTROL (uint16_t)0x0740 |
#define | WM8994_INT_RAW_STATUS_2 (uint16_t)0x0732 |
#define | WM8994_INT_STATUS1_MASK (uint16_t)0x0738 |
#define | WM8994_INT_STATUS2_MASK (uint16_t)0x0739 |
#define | WM8994_INT_STATUS_1 (uint16_t)0x0730 |
#define | WM8994_INT_STATUS_2 (uint16_t)0x0731 |
#define | WM8994_IRQ_DEBOUNCE (uint16_t)0x0748 |
#define | WM8994_LDO1 (uint16_t)0x003B |
#define | WM8994_LDO2 (uint16_t)0x003C |
#define | WM8994_LEFT_LINE_IN12_VOL (uint16_t)0x0018 |
#define | WM8994_LEFT_LINE_IN34_VOL (uint16_t)0x0019 |
#define | WM8994_LEFT_OPGA_VOL (uint16_t)0x0020 |
#define | WM8994_LEFT_OUTPUT_VOL (uint16_t)0x001C |
#define | WM8994_LINE_MIXER_1 (uint16_t)0x0034 |
#define | WM8994_LINE_MIXER_2 (uint16_t)0x0035 |
#define | WM8994_LINE_OUTPUT_VOL (uint16_t)0x001E |
#define | WM8994_MICBIAS (uint16_t)0x003A |
#define | WM8994_MUTE_OFF 0U |
#define | WM8994_MUTE_ON 1U |
#define | WM8994_OK (0) |
#define | WM8994_OUT_AUTO 0x04U |
#define | WM8994_OUT_BOTH 0x03U |
#define | WM8994_OUT_HEADPHONE 0x02U |
#define | WM8994_OUT_NONE 0x00U |
#define | WM8994_OUT_SPEAKER 0x01U |
#define | WM8994_OUTPUT2_MIXER (uint16_t)0x0033 |
#define | WM8994_OUTPUT2_VOL (uint16_t)0x001F |
#define | WM8994_OUTPUT_MIXER (uint16_t)0x0024 |
#define | WM8994_OUTPUT_MIXER_1 (uint16_t)0x002D |
#define | WM8994_OUTPUT_MIXER_2 (uint16_t)0x002E |
#define | WM8994_OUTPUT_MIXER_3 (uint16_t)0x002F |
#define | WM8994_OUTPUT_MIXER_4 (uint16_t)0x0030 |
#define | WM8994_OUTPUT_MIXER_5 (uint16_t)0x0031 |
#define | WM8994_OUTPUT_MIXER_6 (uint16_t)0x0032 |
#define | WM8994_OVERSAMPLING (uint16_t)0x0620 |
#define | WM8994_PDWN_HW 0x00U |
#define | WM8994_PDWN_SW 0x01U |
#define | WM8994_PROTOCOL_DSP ((uint16_t)0x0003) |
#define | WM8994_PROTOCOL_I2S ((uint16_t)0x0002) |
#define | WM8994_PROTOCOL_L_JUSTIFIED ((uint16_t)0x0001) |
#define | WM8994_PROTOCOL_R_JUSTIFIED ((uint16_t)0x0000) |
#define | WM8994_PULL_CONTROL_1 (uint16_t)0x0720 |
#define | WM8994_PULL_CONTROL_2 (uint16_t)0x0721 |
#define | WM8994_PWR_MANAGEMENT_1 (uint16_t)0x0001 |
#define | WM8994_PWR_MANAGEMENT_2 (uint16_t)0x0002 |
#define | WM8994_PWR_MANAGEMENT_3 (uint16_t)0x0003 |
#define | WM8994_PWR_MANAGEMENT_4 (uint16_t)0x0004 |
#define | WM8994_PWR_MANAGEMENT_5 (uint16_t)0x0005 |
#define | WM8994_PWR_MANAGEMENT_6 (uint16_t)0x0006 |
#define | WM8994_RATE_STATUS (uint16_t)0x0212 |
#define | WM8994_RESOLUTION_16b 0x00U |
#define | WM8994_RESOLUTION_20b 0x01U |
#define | WM8994_RESOLUTION_24b 0x02U |
#define | WM8994_RESOLUTION_32b 0x03U |
#define | WM8994_RIGHT_LINE_IN12_VOL (uint16_t)0x001A |
#define | WM8994_RIGHT_LINE_IN34_VOL (uint16_t)0x001B |
#define | WM8994_RIGHT_OPGA_VOL (uint16_t)0x0021 |
#define | WM8994_RIGHT_OUTPUT_VOL (uint16_t)0x001D |
#define | WM8994_SIDETONE (uint16_t)0x0621 |
#define | WM8994_SPEAKER_MIXER (uint16_t)0x0036 |
#define | WM8994_SPK_LEFT_VOL (uint16_t)0x0026 |
#define | WM8994_SPK_RIGHT_VOL (uint16_t)0x0027 |
#define | WM8994_SPKMIXL_ATT (uint16_t)0x0022 |
#define | WM8994_SPKMIXR_ATT (uint16_t)0x0023 |
#define | WM8994_SW_RESET (uint16_t)0x0000 |
#define | WM8994_WRITE_SEQ_CTRL1 (uint16_t)0x0110 |
#define | WM8994_WRITE_SEQ_CTRL2 (uint16_t)0x0111 |
#define | WM8994_WRITE_SEQUENCER0 (uint16_t)0x3000 |
#define | WM8994_WRITE_SEQUENCER1 (uint16_t)0x3001 |
#define | WM8994_WRITE_SEQUENCER2 (uint16_t)0x3002 |
#define | WM8994_WRITE_SEQUENCER3 (uint16_t)0x3003 |
#define | WM8994_WRITE_SEQUENCER4 (uint16_t)0x3508 |
#define | WM8994_WRITE_SEQUENCER5 (uint16_t)0x3509 |
#define | WM8994_WRITE_SEQUENCER6 (uint16_t)0x3510 |
#define | WM8994_WRITE_SEQUENCER7 (uint16_t)0x3511 |
#define AUDIO_FREQUENCY_11K ((uint32_t)11025) |
Definition at line 106 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_FREQUENCY_16K ((uint32_t)16000) |
Definition at line 105 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_FREQUENCY_192K ((uint32_t)192000) |
Definition at line 99 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_FREQUENCY_22K ((uint32_t)22050) |
Definition at line 104 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_FREQUENCY_32K ((uint32_t)32000) |
Definition at line 103 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_FREQUENCY_44K ((uint32_t)44100) |
Definition at line 102 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_FREQUENCY_48K ((uint32_t)48000) |
Definition at line 101 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_FREQUENCY_8K ((uint32_t)8000) |
Definition at line 107 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_FREQUENCY_96K ((uint32_t)96000) |
Definition at line 100 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_MUTE_OFF 0 |
Definition at line 96 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_MUTE_ON 1 |
Definition at line 95 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_PAUSE 0 |
Definition at line 87 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define AUDIO_RESUME 1 |
Definition at line 88 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define CODEC_PDWN_HW 1 |
Definition at line 91 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define CODEC_PDWN_SW 2 |
Definition at line 92 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define DEFAULT_VOLMAX 0xFF |
Definition at line 84 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define DEFAULT_VOLMIN 0x00 |
Definition at line 83 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define DEFAULT_VOLSTEP 0x04 |
Definition at line 85 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define INPUT_DEVICE_DIGITAL_MIC1_MIC2 ((uint16_t)0x0800) |
Definition at line 80 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define INPUT_DEVICE_DIGITAL_MICROPHONE_1 ((uint16_t)0x0100) |
Definition at line 76 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define INPUT_DEVICE_DIGITAL_MICROPHONE_2 ((uint16_t)0x0200) |
Definition at line 77 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define INPUT_DEVICE_INPUT_LINE_1 ((uint16_t)0x0300) |
Definition at line 78 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define INPUT_DEVICE_INPUT_LINE_2 ((uint16_t)0x0400) |
Definition at line 79 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define OUTPUT_DEVICE_AUTO ((uint16_t)0x0004) |
Definition at line 75 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define OUTPUT_DEVICE_BOTH ((uint16_t)0x0003) |
Definition at line 74 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define OUTPUT_DEVICE_HEADPHONE ((uint16_t)0x0002) |
Definition at line 73 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define OUTPUT_DEVICE_SPEAKER ((uint16_t)0x0001) |
Definition at line 72 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define VOLUME_CONVERT | ( | Volume | ) | (((Volume) > 100)? 100:((uint8_t)(((Volume) * 63) / 100))) |
Definition at line 109 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define VOLUME_IN_CONVERT | ( | Volume | ) | (((Volume) >= 100)? 239:((uint8_t)(((Volume) * 240) / 100))) |
Definition at line 110 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define VOLUME_IN_INVERT | ( | Volume | ) | ((uint8_t)(((Volume) * 100) / 239)) |
Definition at line 165 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define VOLUME_INPUT 0U |
Definition at line 151 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define VOLUME_OUT_INVERT | ( | Volume | ) | ((uint8_t)(((Volume) * 100) / 63)) |
Definition at line 164 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define VOLUME_OUTPUT 1U |
Definition at line 152 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_ADD_CONTROL (uint16_t)0x0037 |
Definition at line 108 of file wm8994_reg.h.
#define WM8994_AIF1_ADC1_FILTERS (uint16_t)0x0410 |
Definition at line 192 of file wm8994_reg.h.
#define WM8994_AIF1_ADC1_LEFT_VOL (uint16_t)0x0400 |
Definition at line 182 of file wm8994_reg.h.
#define WM8994_AIF1_ADC1_LMR (uint16_t)0x0606 |
Definition at line 309 of file wm8994_reg.h.
#define WM8994_AIF1_ADC1_RIGHT_VOL (uint16_t)0x0401 |
Definition at line 183 of file wm8994_reg.h.
#define WM8994_AIF1_ADC1_RMR (uint16_t)0x0607 |
Definition at line 311 of file wm8994_reg.h.
#define WM8994_AIF1_ADC2_FILTERS (uint16_t)0x0411 |
Definition at line 193 of file wm8994_reg.h.
#define WM8994_AIF1_ADC2_LEFT_VOL (uint16_t)0x0404 |
Definition at line 186 of file wm8994_reg.h.
#define WM8994_AIF1_ADC2_LMR (uint16_t)0x0608 |
Definition at line 313 of file wm8994_reg.h.
#define WM8994_AIF1_ADC2_RIGHT_VOL (uint16_t)0x0405 |
Definition at line 187 of file wm8994_reg.h.
#define WM8994_AIF1_ADC2_RMR (uint16_t)0x0609 |
Definition at line 315 of file wm8994_reg.h.
#define WM8994_AIF1_ADC_DELTA (uint16_t)0x0307 |
Definition at line 169 of file wm8994_reg.h.
#define WM8994_AIF1_ADC_LRCLK (uint16_t)0x0304 |
Definition at line 166 of file wm8994_reg.h.
#define WM8994_AIF1_BCLK (uint16_t)0x0303 |
Definition at line 165 of file wm8994_reg.h.
#define WM8994_AIF1_CLOCKING1 (uint16_t)0x0200 |
Definition at line 136 of file wm8994_reg.h.
#define WM8994_AIF1_CLOCKING2 (uint16_t)0x0201 |
Definition at line 137 of file wm8994_reg.h.
#define WM8994_AIF1_CONTROL1 (uint16_t)0x0300 |
Definition at line 162 of file wm8994_reg.h.
#define WM8994_AIF1_CONTROL2 (uint16_t)0x0301 |
Definition at line 163 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_1 (uint16_t)0x0480 |
Definition at line 213 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_1A (uint16_t)0x0482 |
Definition at line 215 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_1B (uint16_t)0x0483 |
Definition at line 216 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_1PG (uint16_t)0x0484 |
Definition at line 217 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_2 (uint16_t)0x0481 |
Definition at line 214 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_2A (uint16_t)0x0485 |
Definition at line 218 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_2B (uint16_t)0x0486 |
Definition at line 219 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_2C (uint16_t)0x0487 |
Definition at line 220 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_2PG (uint16_t)0x0488 |
Definition at line 221 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_3A (uint16_t)0x0489 |
Definition at line 222 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_3B (uint16_t)0x048A |
Definition at line 223 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_3C (uint16_t)0x048B |
Definition at line 224 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_3PG (uint16_t)0x048C |
Definition at line 225 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_4A (uint16_t)0x048D |
Definition at line 226 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_4B (uint16_t)0x048E |
Definition at line 227 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_4C (uint16_t)0x048F |
Definition at line 228 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_4PG (uint16_t)0x0490 |
Definition at line 229 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_5A (uint16_t)0x0491 |
Definition at line 230 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_5B (uint16_t)0x0492 |
Definition at line 231 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_EQG_5PG (uint16_t)0x0493 |
Definition at line 232 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_FILTER1 (uint16_t)0x0420 |
Definition at line 194 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_FILTER2 (uint16_t)0x0421 |
Definition at line 195 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_LEFT_VOL (uint16_t)0x0402 |
Definition at line 184 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_LMR (uint16_t)0x0601 |
Definition at line 299 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_RIGHT_VOL (uint16_t)0x0403 |
Definition at line 185 of file wm8994_reg.h.
#define WM8994_AIF1_DAC1_RMR (uint16_t)0x0602 |
Definition at line 301 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_1 (uint16_t)0x04A0 |
Definition at line 235 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_1A (uint16_t)0x04A2 |
Definition at line 237 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_1B (uint16_t)0x04A3 |
Definition at line 238 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_1PG (uint16_t)0x04A4 |
Definition at line 239 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_2 (uint16_t)0x04A1 |
Definition at line 236 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_2A (uint16_t)0x04A5 |
Definition at line 240 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_2B (uint16_t)0x04A6 |
Definition at line 241 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_2C (uint16_t)0x04A7 |
Definition at line 242 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_2PG (uint16_t)0x04A8 |
Definition at line 243 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_3A (uint16_t)0x04A9 |
Definition at line 244 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_3B (uint16_t)0x04AA |
Definition at line 245 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_3C (uint16_t)0x04AB |
Definition at line 246 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_3PG (uint16_t)0x04AC |
Definition at line 247 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_4A (uint16_t)0x04AD |
Definition at line 248 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_4B (uint16_t)0x04AE |
Definition at line 249 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_4C (uint16_t)0x04AF |
Definition at line 250 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_4PG (uint16_t)0x04B0 |
Definition at line 251 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_5A (uint16_t)0x04B1 |
Definition at line 252 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_5B (uint16_t)0x04B2 |
Definition at line 253 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_EQG_5PG (uint16_t)0x04B3 |
Definition at line 254 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_FILTER1 (uint16_t)0x0422 |
Definition at line 196 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_FILTER2 (uint16_t)0x0423 |
Definition at line 197 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_LEFT_VOL (uint16_t)0x0406 |
Definition at line 188 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_LMR (uint16_t)0x0604 |
Definition at line 305 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_RIGHT_VOL (uint16_t)0x0407 |
Definition at line 189 of file wm8994_reg.h.
#define WM8994_AIF1_DAC2_RMR (uint16_t)0x0605 |
Definition at line 307 of file wm8994_reg.h.
#define WM8994_AIF1_DAC_DELTA (uint16_t)0x0306 |
Definition at line 168 of file wm8994_reg.h.
#define WM8994_AIF1_DAC_LRCLK (uint16_t)0x0305 |
Definition at line 167 of file wm8994_reg.h.
#define WM8994_AIF1_DRC1 (uint16_t)0x0440 |
Definition at line 200 of file wm8994_reg.h.
#define WM8994_AIF1_DRC1_1 (uint16_t)0x0441 |
Definition at line 201 of file wm8994_reg.h.
#define WM8994_AIF1_DRC1_2 (uint16_t)0x0442 |
Definition at line 202 of file wm8994_reg.h.
#define WM8994_AIF1_DRC1_3 (uint16_t)0x0443 |
Definition at line 203 of file wm8994_reg.h.
#define WM8994_AIF1_DRC1_4 (uint16_t)0x0444 |
Definition at line 204 of file wm8994_reg.h.
#define WM8994_AIF1_DRC2 (uint16_t)0x0450 |
Definition at line 206 of file wm8994_reg.h.
#define WM8994_AIF1_DRC2_1 (uint16_t)0x0451 |
Definition at line 207 of file wm8994_reg.h.
#define WM8994_AIF1_DRC2_2 (uint16_t)0x0452 |
Definition at line 208 of file wm8994_reg.h.
#define WM8994_AIF1_DRC2_3 (uint16_t)0x0453 |
Definition at line 209 of file wm8994_reg.h.
#define WM8994_AIF1_DRC2_4 (uint16_t)0x0454 |
Definition at line 210 of file wm8994_reg.h.
#define WM8994_AIF1_MASTER_SLAVE (uint16_t)0x0302 |
Definition at line 164 of file wm8994_reg.h.
#define WM8994_AIF1_RATE (uint16_t)0x0210 |
Definition at line 142 of file wm8994_reg.h.
#define WM8994_AIF2_ADC_DELTA (uint16_t)0x0317 |
Definition at line 179 of file wm8994_reg.h.
#define WM8994_AIF2_ADC_FILTERS (uint16_t)0x0510 |
Definition at line 263 of file wm8994_reg.h.
#define WM8994_AIF2_ADC_LEFT_VOL (uint16_t)0x0500 |
Definition at line 257 of file wm8994_reg.h.
#define WM8994_AIF2_ADC_LRCLK (uint16_t)0x0314 |
Definition at line 176 of file wm8994_reg.h.
#define WM8994_AIF2_ADC_RIGHT_VOL (uint16_t)0x0501 |
Definition at line 258 of file wm8994_reg.h.
#define WM8994_AIF2_BCLK (uint16_t)0x0313 |
Definition at line 175 of file wm8994_reg.h.
#define WM8994_AIF2_CLOCKING1 (uint16_t)0x0204 |
Definition at line 138 of file wm8994_reg.h.
#define WM8994_AIF2_CLOCKING2 (uint16_t)0x0205 |
Definition at line 139 of file wm8994_reg.h.
#define WM8994_AIF2_CONTROL1 (uint16_t)0x0310 |
Definition at line 172 of file wm8994_reg.h.
#define WM8994_AIF2_CONTROL2 (uint16_t)0x0311 |
Definition at line 173 of file wm8994_reg.h.
#define WM8994_AIF2_DAC_DELTA (uint16_t)0x0316 |
Definition at line 178 of file wm8994_reg.h.
#define WM8994_AIF2_DAC_FILTER_1 (uint16_t)0x0520 |
Definition at line 264 of file wm8994_reg.h.
#define WM8994_AIF2_DAC_FILTER_2 (uint16_t)0x0521 |
Definition at line 265 of file wm8994_reg.h.
#define WM8994_AIF2_DAC_LEFT_VOL (uint16_t)0x0502 |
Definition at line 259 of file wm8994_reg.h.
#define WM8994_AIF2_DAC_LRCLK (uint16_t)0x0315 |
Definition at line 177 of file wm8994_reg.h.
#define WM8994_AIF2_DAC_RIGHT_VOL (uint16_t)0x0503 |
Definition at line 260 of file wm8994_reg.h.
#define WM8994_AIF2_DRC_1 (uint16_t)0x0540 |
Definition at line 268 of file wm8994_reg.h.
#define WM8994_AIF2_DRC_2 (uint16_t)0x0541 |
Definition at line 269 of file wm8994_reg.h.
#define WM8994_AIF2_DRC_3 (uint16_t)0x0542 |
Definition at line 270 of file wm8994_reg.h.
#define WM8994_AIF2_DRC_4 (uint16_t)0x0543 |
Definition at line 271 of file wm8994_reg.h.
#define WM8994_AIF2_DRC_5 (uint16_t)0x0544 |
Definition at line 272 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_1 (uint16_t)0x0580 |
Definition at line 275 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_1A (uint16_t)0x0582 |
Definition at line 277 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_1B (uint16_t)0x0583 |
Definition at line 278 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_1PG (uint16_t)0x0584 |
Definition at line 279 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_2 (uint16_t)0x0581 |
Definition at line 276 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_2A (uint16_t)0x0585 |
Definition at line 280 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_2B (uint16_t)0x0586 |
Definition at line 281 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_2C (uint16_t)0x0587 |
Definition at line 282 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_2PG (uint16_t)0x0588 |
Definition at line 283 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_3A (uint16_t)0x0589 |
Definition at line 284 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_3B (uint16_t)0x058A |
Definition at line 285 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_3C (uint16_t)0x058B |
Definition at line 286 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_3PG (uint16_t)0x058C |
Definition at line 287 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_4A (uint16_t)0x058D |
Definition at line 288 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_4B (uint16_t)0x058E |
Definition at line 289 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_4C (uint16_t)0x058F |
Definition at line 290 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_4PG (uint16_t)0x0590 |
Definition at line 291 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_5A (uint16_t)0x0591 |
Definition at line 292 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_5B (uint16_t)0x0592 |
Definition at line 293 of file wm8994_reg.h.
#define WM8994_AIF2_EQG_5PG (uint16_t)0x0593 |
Definition at line 294 of file wm8994_reg.h.
#define WM8994_AIF2_MASTER_SLAVE (uint16_t)0x0312 |
Definition at line 174 of file wm8994_reg.h.
#define WM8994_AIF2_RATE (uint16_t)0x0211 |
Definition at line 143 of file wm8994_reg.h.
#define WM8994_ANALOG_HP (uint16_t)0x0060 |
Definition at line 128 of file wm8994_reg.h.
#define WM8994_ANTIPOP1 (uint16_t)0x0038 |
Definition at line 110 of file wm8994_reg.h.
#define WM8994_ANTIPOP2 (uint16_t)0x0039 |
Definition at line 111 of file wm8994_reg.h.
#define WM8994_CHARGE_PUMP1 (uint16_t)0x004C |
Definition at line 117 of file wm8994_reg.h.
#define WM8994_CHARGE_PUMP2 (uint16_t)0x004D |
Definition at line 118 of file wm8994_reg.h.
#define WM8994_CHIP_REVISION (uint16_t)0x0100 |
Definition at line 130 of file wm8994_reg.h.
#define WM8994_CHIPID_ADDR 0x00 |
Device ID Register: Reading from this register will indicate device family ID 8994h.
Definition at line 124 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_CLASS_D (uint16_t)0x0025 |
Definition at line 85 of file wm8994_reg.h.
#define WM8994_CLASS_W (uint16_t)0x0051 |
Definition at line 120 of file wm8994_reg.h.
#define WM8994_CLOCKING1 (uint16_t)0x0208 |
Definition at line 140 of file wm8994_reg.h.
#define WM8994_CLOCKING2 (uint16_t)0x0209 |
Definition at line 141 of file wm8994_reg.h.
#define WM8994_CONTROL_INTERFACE (uint16_t)0x0101 |
Definition at line 131 of file wm8994_reg.h.
#define WM8994_DAC1_LEFT_VOL (uint16_t)0x0610 |
Definition at line 318 of file wm8994_reg.h.
#define WM8994_DAC1_MIXER_VOL (uint16_t)0x0600 |
Definition at line 297 of file wm8994_reg.h.
#define WM8994_DAC1_RIGHT_VOL (uint16_t)0x0611 |
Definition at line 319 of file wm8994_reg.h.
#define WM8994_DAC2_LEFT_VOL (uint16_t)0x0612 |
Definition at line 320 of file wm8994_reg.h.
#define WM8994_DAC2_MIXER_VOL (uint16_t)0x0603 |
Definition at line 303 of file wm8994_reg.h.
#define WM8994_DAC2_RIGHT_VOL (uint16_t)0x0613 |
Definition at line 321 of file wm8994_reg.h.
#define WM8994_DAC_SOFTMUTE (uint16_t)0x0614 |
Definition at line 322 of file wm8994_reg.h.
#define WM8994_DC_SERVO1 (uint16_t)0x0054 |
Definition at line 122 of file wm8994_reg.h.
#define WM8994_DC_SERVO2 (uint16_t)0x0055 |
Definition at line 123 of file wm8994_reg.h.
#define WM8994_DC_SERVO_READBACK (uint16_t)0x0058 |
Definition at line 124 of file wm8994_reg.h.
#define WM8994_DC_SERVO_WRITEVAL (uint16_t)0x0059 |
Definition at line 125 of file wm8994_reg.h.
#define WM8994_ERROR (-1) |
Definition at line 107 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FLL1_CONTROL1 (uint16_t)0x0220 |
Definition at line 147 of file wm8994_reg.h.
#define WM8994_FLL1_CONTROL2 (uint16_t)0x0221 |
Definition at line 148 of file wm8994_reg.h.
#define WM8994_FLL1_CONTROL3 (uint16_t)0x0222 |
Definition at line 149 of file wm8994_reg.h.
#define WM8994_FLL1_CONTROL4 (uint16_t)0x0223 |
Definition at line 150 of file wm8994_reg.h.
#define WM8994_FLL1_CONTROL5 (uint16_t)0x0224 |
Definition at line 151 of file wm8994_reg.h.
#define WM8994_FLL2_CONTROL1 (uint16_t)0x0240 |
Definition at line 154 of file wm8994_reg.h.
#define WM8994_FLL2_CONTROL2 (uint16_t)0x0241 |
Definition at line 155 of file wm8994_reg.h.
#define WM8994_FLL2_CONTROL3 (uint16_t)0x0242 |
Definition at line 156 of file wm8994_reg.h.
#define WM8994_FLL2_CONTROL4 (uint16_t)0x0243 |
Definition at line 157 of file wm8994_reg.h.
#define WM8994_FLL2_CONTROL5 (uint16_t)0x0244 |
Definition at line 158 of file wm8994_reg.h.
#define WM8994_FREQUENCY_11K 11025 |
Definition at line 137 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_16K 16000 |
Definition at line 136 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_176K 176400 |
Definition at line 129 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_192K 192000 |
Definition at line 128 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_22K 22050 |
Definition at line 135 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_32K 32000 |
Definition at line 134 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_44K 44100 |
Definition at line 133 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_48K 48000 |
Definition at line 132 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_88K 88200 |
Definition at line 131 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_8K 8000 |
Definition at line 138 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_FREQUENCY_96K 96000 |
Definition at line 130 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_GPIO1 (uint16_t)0x0700 |
Definition at line 328 of file wm8994_reg.h.
#define WM8994_GPIO10 (uint16_t)0x0709 |
Definition at line 337 of file wm8994_reg.h.
#define WM8994_GPIO11 (uint16_t)0x070A |
Definition at line 338 of file wm8994_reg.h.
#define WM8994_GPIO2 (uint16_t)0x0701 |
Definition at line 329 of file wm8994_reg.h.
#define WM8994_GPIO3 (uint16_t)0x0702 |
Definition at line 330 of file wm8994_reg.h.
#define WM8994_GPIO4 (uint16_t)0x0703 |
Definition at line 331 of file wm8994_reg.h.
#define WM8994_GPIO5 (uint16_t)0x0704 |
Definition at line 332 of file wm8994_reg.h.
#define WM8994_GPIO6 (uint16_t)0x0705 |
Definition at line 333 of file wm8994_reg.h.
#define WM8994_GPIO7 (uint16_t)0x0706 |
Definition at line 334 of file wm8994_reg.h.
#define WM8994_GPIO8 (uint16_t)0x0707 |
Definition at line 335 of file wm8994_reg.h.
#define WM8994_GPIO9 (uint16_t)0x0708 |
Definition at line 336 of file wm8994_reg.h.
#define WM8994_ID 0x8994 |
WM8994 ID
Definition at line 118 of file stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_ID 0x8994U |
WM8994 ID
Definition at line 170 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_IN_LINE1 0x03U |
Definition at line 116 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_IN_LINE2 0x04U |
Definition at line 117 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_IN_MIC1 0x01U |
Definition at line 114 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_IN_MIC1_MIC2 0x05U |
Definition at line 118 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_IN_MIC2 0x02U |
Definition at line 115 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_IN_NONE 0x00U |
Definition at line 113 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_INPUT_MIXER_1 (uint16_t)0x0015 |
Definition at line 63 of file wm8994_reg.h.
#define WM8994_INPUT_MIXER_2 (uint16_t)0x0028 |
Definition at line 91 of file wm8994_reg.h.
#define WM8994_INPUT_MIXER_3 (uint16_t)0x0029 |
Definition at line 92 of file wm8994_reg.h.
#define WM8994_INPUT_MIXER_4 (uint16_t)0x002A |
Definition at line 93 of file wm8994_reg.h.
#define WM8994_INPUT_MIXER_5 (uint16_t)0x002B |
Definition at line 94 of file wm8994_reg.h.
#define WM8994_INPUT_MIXER_6 (uint16_t)0x002C |
Definition at line 95 of file wm8994_reg.h.
#define WM8994_INT_CONTROL (uint16_t)0x0740 |
Definition at line 348 of file wm8994_reg.h.
#define WM8994_INT_RAW_STATUS_2 (uint16_t)0x0732 |
Definition at line 345 of file wm8994_reg.h.
#define WM8994_INT_STATUS1_MASK (uint16_t)0x0738 |
Definition at line 346 of file wm8994_reg.h.
#define WM8994_INT_STATUS2_MASK (uint16_t)0x0739 |
Definition at line 347 of file wm8994_reg.h.
#define WM8994_INT_STATUS_1 (uint16_t)0x0730 |
Definition at line 343 of file wm8994_reg.h.
#define WM8994_INT_STATUS_2 (uint16_t)0x0731 |
Definition at line 344 of file wm8994_reg.h.
#define WM8994_IRQ_DEBOUNCE (uint16_t)0x0748 |
Definition at line 349 of file wm8994_reg.h.
#define WM8994_LDO1 (uint16_t)0x003B |
Definition at line 113 of file wm8994_reg.h.
#define WM8994_LDO2 (uint16_t)0x003C |
Definition at line 114 of file wm8994_reg.h.
#define WM8994_LEFT_LINE_IN12_VOL (uint16_t)0x0018 |
Definition at line 65 of file wm8994_reg.h.
#define WM8994_LEFT_LINE_IN34_VOL (uint16_t)0x0019 |
Definition at line 66 of file wm8994_reg.h.
#define WM8994_LEFT_OPGA_VOL (uint16_t)0x0020 |
Definition at line 78 of file wm8994_reg.h.
#define WM8994_LEFT_OUTPUT_VOL (uint16_t)0x001C |
Definition at line 71 of file wm8994_reg.h.
#define WM8994_LINE_MIXER_1 (uint16_t)0x0034 |
Definition at line 105 of file wm8994_reg.h.
#define WM8994_LINE_MIXER_2 (uint16_t)0x0035 |
Definition at line 106 of file wm8994_reg.h.
#define WM8994_LINE_OUTPUT_VOL (uint16_t)0x001E |
Definition at line 73 of file wm8994_reg.h.
#define WM8994_MICBIAS (uint16_t)0x003A |
Definition at line 112 of file wm8994_reg.h.
#define WM8994_MUTE_OFF 0U |
Definition at line 156 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_MUTE_ON 1U |
Definition at line 155 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_OK (0) |
Definition at line 106 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_OUT_AUTO 0x04U |
Definition at line 125 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_OUT_BOTH 0x03U |
Definition at line 124 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_OUT_HEADPHONE 0x02U |
Definition at line 123 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_OUT_NONE 0x00U |
Definition at line 121 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_OUT_SPEAKER 0x01U |
Definition at line 122 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_OUTPUT2_MIXER (uint16_t)0x0033 |
Definition at line 104 of file wm8994_reg.h.
#define WM8994_OUTPUT2_VOL (uint16_t)0x001F |
Definition at line 74 of file wm8994_reg.h.
#define WM8994_OUTPUT_MIXER (uint16_t)0x0024 |
Definition at line 84 of file wm8994_reg.h.
#define WM8994_OUTPUT_MIXER_1 (uint16_t)0x002D |
Definition at line 98 of file wm8994_reg.h.
#define WM8994_OUTPUT_MIXER_2 (uint16_t)0x002E |
Definition at line 99 of file wm8994_reg.h.
#define WM8994_OUTPUT_MIXER_3 (uint16_t)0x002F |
Definition at line 100 of file wm8994_reg.h.
#define WM8994_OUTPUT_MIXER_4 (uint16_t)0x0030 |
Definition at line 101 of file wm8994_reg.h.
#define WM8994_OUTPUT_MIXER_5 (uint16_t)0x0031 |
Definition at line 102 of file wm8994_reg.h.
#define WM8994_OUTPUT_MIXER_6 (uint16_t)0x0032 |
Definition at line 103 of file wm8994_reg.h.
#define WM8994_OVERSAMPLING (uint16_t)0x0620 |
Definition at line 324 of file wm8994_reg.h.
#define WM8994_PDWN_HW 0x00U |
Definition at line 147 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_PDWN_SW 0x01U |
Definition at line 148 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_PROTOCOL_DSP ((uint16_t)0x0003) |
Definition at line 162 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_PROTOCOL_I2S ((uint16_t)0x0002) |
Definition at line 161 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_PROTOCOL_L_JUSTIFIED ((uint16_t)0x0001) |
Definition at line 160 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_PROTOCOL_R_JUSTIFIED ((uint16_t)0x0000) |
Definition at line 159 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_PULL_CONTROL_1 (uint16_t)0x0720 |
Definition at line 340 of file wm8994_reg.h.
#define WM8994_PULL_CONTROL_2 (uint16_t)0x0721 |
Definition at line 341 of file wm8994_reg.h.
#define WM8994_PWR_MANAGEMENT_1 (uint16_t)0x0001 |
Definition at line 55 of file wm8994_reg.h.
#define WM8994_PWR_MANAGEMENT_2 (uint16_t)0x0002 |
Definition at line 56 of file wm8994_reg.h.
#define WM8994_PWR_MANAGEMENT_3 (uint16_t)0x0003 |
Definition at line 57 of file wm8994_reg.h.
#define WM8994_PWR_MANAGEMENT_4 (uint16_t)0x0004 |
Definition at line 58 of file wm8994_reg.h.
#define WM8994_PWR_MANAGEMENT_5 (uint16_t)0x0005 |
Definition at line 59 of file wm8994_reg.h.
#define WM8994_PWR_MANAGEMENT_6 (uint16_t)0x0006 |
Definition at line 60 of file wm8994_reg.h.
#define WM8994_RATE_STATUS (uint16_t)0x0212 |
Definition at line 144 of file wm8994_reg.h.
#define WM8994_RESOLUTION_16b 0x00U |
Definition at line 141 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_RESOLUTION_20b 0x01U |
Definition at line 142 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_RESOLUTION_24b 0x02U |
Definition at line 143 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_RESOLUTION_32b 0x03U |
Definition at line 144 of file stm32h747/stm32h747i-disco/CM7/Drivers/BSP/Components/wm8994/wm8994.h.
#define WM8994_RIGHT_LINE_IN12_VOL (uint16_t)0x001A |
Definition at line 67 of file wm8994_reg.h.
#define WM8994_RIGHT_LINE_IN34_VOL (uint16_t)0x001B |
Definition at line 68 of file wm8994_reg.h.
#define WM8994_RIGHT_OPGA_VOL (uint16_t)0x0021 |
Definition at line 79 of file wm8994_reg.h.
#define WM8994_RIGHT_OUTPUT_VOL (uint16_t)0x001D |
Definition at line 72 of file wm8994_reg.h.
#define WM8994_SIDETONE (uint16_t)0x0621 |
Definition at line 325 of file wm8994_reg.h.
#define WM8994_SPEAKER_MIXER (uint16_t)0x0036 |
Definition at line 107 of file wm8994_reg.h.
#define WM8994_SPK_LEFT_VOL (uint16_t)0x0026 |
Definition at line 87 of file wm8994_reg.h.
#define WM8994_SPK_RIGHT_VOL (uint16_t)0x0027 |
Definition at line 88 of file wm8994_reg.h.
#define WM8994_SPKMIXL_ATT (uint16_t)0x0022 |
Definition at line 82 of file wm8994_reg.h.
#define WM8994_SPKMIXR_ATT (uint16_t)0x0023 |
Definition at line 83 of file wm8994_reg.h.
#define WM8994_SW_RESET (uint16_t)0x0000 |
Definition at line 52 of file wm8994_reg.h.
#define WM8994_WRITE_SEQ_CTRL1 (uint16_t)0x0110 |
Definition at line 132 of file wm8994_reg.h.
#define WM8994_WRITE_SEQ_CTRL2 (uint16_t)0x0111 |
Definition at line 133 of file wm8994_reg.h.
#define WM8994_WRITE_SEQUENCER0 (uint16_t)0x3000 |
Definition at line 352 of file wm8994_reg.h.
#define WM8994_WRITE_SEQUENCER1 (uint16_t)0x3001 |
Definition at line 353 of file wm8994_reg.h.
#define WM8994_WRITE_SEQUENCER2 (uint16_t)0x3002 |
Definition at line 354 of file wm8994_reg.h.
#define WM8994_WRITE_SEQUENCER3 (uint16_t)0x3003 |
Definition at line 355 of file wm8994_reg.h.
#define WM8994_WRITE_SEQUENCER4 (uint16_t)0x3508 |
Definition at line 357 of file wm8994_reg.h.
#define WM8994_WRITE_SEQUENCER5 (uint16_t)0x3509 |
Definition at line 358 of file wm8994_reg.h.
#define WM8994_WRITE_SEQUENCER6 (uint16_t)0x3510 |
Definition at line 359 of file wm8994_reg.h.
#define WM8994_WRITE_SEQUENCER7 (uint16_t)0x3511 |
Definition at line 360 of file wm8994_reg.h.