arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
I2SDriverESP32V1::DriverI2S Struct Reference

#include <I2SESP32V1.h>

Inheritance diagram for I2SDriverESP32V1::DriverI2S:
I2SDriverESP32V1::DriverCommon

Public Member Functions

bool startChannels (I2SConfigESP32V1 &cfg, i2s_chan_handle_t &tx_chan, i2s_chan_handle_t &rx_chan, int txPin, int rxPin)
 

Protected Member Functions

bool changeSampleRate (I2SConfigESP32V1 &cfg, i2s_chan_handle_t &tx_chan, i2s_chan_handle_t &rx_chan) override
 
int get_bits_eff (int bits)
 24 bits are stored in a 32 bit integer
 
i2s_chan_config_t getChannelConfig (I2SConfigESP32V1 &cfg)
 
i2s_std_clk_config_t getClockConfig (I2SConfigESP32V1 &cfg)
 
soc_periph_i2s_clk_src_t getClockSource (I2SConfigESP32V1 &cfg)
 select clock source dependent on is_master and use_apll
 
i2s_std_slot_config_t getSlotConfig (I2SConfigESP32V1 &cfg)
 

Member Function Documentation

◆ changeSampleRate()

bool changeSampleRate ( I2SConfigESP32V1 cfg,
i2s_chan_handle_t tx_chan,
i2s_chan_handle_t rx_chan 
)
inlineoverrideprotectedvirtual

Reimplemented from I2SDriverESP32V1::DriverCommon.

◆ get_bits_eff()

int get_bits_eff ( int  bits)
inlineprotectedinherited

24 bits are stored in a 32 bit integer

◆ getChannelConfig()

i2s_chan_config_t getChannelConfig ( I2SConfigESP32V1 cfg)
inlineprotectedvirtual

◆ getClockConfig()

i2s_std_clk_config_t getClockConfig ( I2SConfigESP32V1 cfg)
inlineprotected

◆ getClockSource()

soc_periph_i2s_clk_src_t getClockSource ( I2SConfigESP32V1 cfg)
inlineprotected

select clock source dependent on is_master and use_apll

◆ getSlotConfig()

i2s_std_slot_config_t getSlotConfig ( I2SConfigESP32V1 cfg)
inlineprotected

◆ startChannels()

bool startChannels ( I2SConfigESP32V1 cfg,
i2s_chan_handle_t tx_chan,
i2s_chan_handle_t rx_chan,
int  txPin,
int  rxPin 
)
inlinevirtual

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