Board driver which provides the pin information.
More...
#include <string.h>
#include "AudioKitSettings.h"
#include "audio_hal/audio_error.h"
#include "audio_hal/audio_gpio.h"
#include "audio_hal/audio_hal.h"
#include "audio_hal/audio_mem.h"
#include "audio_hal/audiokit_board_select.h"
#include "audio_hal/audiokit_logger.h"
Go to the source code of this file.
|
#define | ES8311_MCLK_SRC -1 |
|
#define | BUTTON_REC_ID PIN_KEY1 |
|
#define | BUTTON_MODE_ID PIN_KEY2 |
|
#define | BUTTON_SET_ID PIN_KEY3 |
|
#define | BUTTON_PLAY_ID PIN_KEY4 |
|
#define | BUTTON_VOLDOWN_ID PIN_KEY5 |
|
#define | BUTTON_VOLUP_ID PIN_KEY6 |
|
#define | AUDIO_CODEC_DEFAULT_CONFIG() |
|
Board driver which provides the pin information.
- Author
- Phil Schatzmann
- Date
- 2023-5-25
- Copyright
- Copyright (c) 2021
Definition in file audiokit_board.h.
◆ audio_kit_pins
Struct with all pins
Definition at line 58 of file audiokit_board.h.
Class Members |
int8_t |
adc_detect |
|
int8_t |
detect_auxin |
|
int8_t |
detect_headphone |
|
int8_t |
enable_pa |
|
int8_t |
es7243_mclk |
|
int8_t |
es8311_mclk_src |
|
int8_t |
i2c_num |
|
int8_t |
i2c_scl |
|
int8_t |
i2c_sda |
|
int8_t |
i2s1_bck |
|
int8_t |
i2s1_in |
|
int8_t |
i2s1_mclk |
|
int8_t |
i2s1_out |
|
int8_t |
i2s1_ws |
|
int8_t |
i2s_bck |
|
int8_t |
i2s_in |
|
int8_t |
i2s_mclk |
|
int8_t |
i2s_num |
|
int8_t |
i2s_out |
|
int8_t |
i2s_ws |
|
int8_t |
key1 |
|
int8_t |
key2 |
|
int8_t |
key3 |
|
int8_t |
key4 |
|
int8_t |
key5 |
|
int8_t |
key6 |
|
int8_t |
led_blue |
|
int8_t |
led_green |
|
int8_t |
reset_board |
|
int8_t |
reset_codec |
|
int8_t |
sd_clk |
|
int8_t |
sd_cs |
|
int8_t |
sd_intr |
|
int8_t |
sd_max_open_files |
|
int8_t |
sd_miso |
|
int8_t |
sd_mosi |
|
◆ AUDIO_CODEC_DEFAULT_CONFIG
#define AUDIO_CODEC_DEFAULT_CONFIG |
( |
| ) |
|
Value: { \
.adc_input = AUDIO_HAL_ADC_INPUT_LINE1, \
.dac_output = AUDIO_HAL_DAC_OUTPUT_ALL, \
.codec_mode = AUDIO_HAL_CODEC_MODE_BOTH, \
.i2s_iface = { \
.mode = AUDIO_HAL_MODE_SLAVE, \
.fmt = AUDIO_HAL_I2S_NORMAL, \
.samples = AUDIO_HAL_48K_SAMPLES, \
.bits = AUDIO_HAL_BIT_LENGTH_16BITS, \
}, \
};
Definition at line 41 of file audiokit_board.h.