arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
audio_tools::I2SConfig Class Reference

configuration for all common i2s settings More...

#include <I2SConfig.h>

Inheritance diagram for audio_tools::I2SConfig:
audio_tools::AudioBaseInfo audio_tools::AudioKitStreamConfig

Public Member Functions

 I2SConfig (const I2SConfig &cfg)=default
 Default Copy Constructor.
 
 I2SConfig (RxTxMode mode)
 Constructor.
 
void logInfo ()
 
- Public Member Functions inherited from audio_tools::AudioBaseInfo
 AudioBaseInfo (const AudioBaseInfo &)=default
 
void copyFrom (AudioBaseInfo info)
 
virtual void logInfo ()
 
bool operator!= (AudioBaseInfo alt)
 
AudioBaseInfooperator= (const AudioBaseInfo &info)
 
bool operator== (AudioBaseInfo alt)
 
void setAudioInfo (AudioBaseInfo info)
 

Public Attributes

bool auto_clear
 
int buffer_count = I2S_BUFFER_COUNT
 
int buffer_size = I2S_BUFFER_SIZE
 
uint32_t fixed_mclk = 0
 
I2SFormat i2s_format = I2S_STD_FORMAT
 
bool is_master = true
 
int pin_bck = PIN_I2S_BCK
 
int pin_data
 
int pin_data_rx
 
int pin_mck = -1
 
int pin_ws = PIN_I2S_WS
 
int port_no = 0
 
RxTxMode rx_tx_mode = TX_MODE
 public settings
 
I2SSignalType signal_type = Digital
 
bool use_apll = I2S_USE_APLL
 
- Public Attributes inherited from audio_tools::AudioBaseInfo
int bits_per_sample =16
 
int channels = 0
 
int sample_rate = 0
 

Detailed Description

configuration for all common i2s settings

Author
Phil Schatzmann

Member Function Documentation

◆ logInfo()

void audio_tools::I2SConfig::logInfo ( )
inlinevirtual

Reimplemented from audio_tools::AudioBaseInfo.


The documentation for this class was generated from the following file: