Arduino SAM
All Classes Files Functions Enumerations Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SAMOutputI2S Class Reference

Output to I2S for ESP32: This class is obsolete and has been deactivated in the sam_config.h since the related API is not longer supported by Espressif. Use the I2S functionality provided by your core or the AudioTools library instread. More...

#include <sam_arduino_out.h>

Inheritance diagram for SAMOutputI2S:
SAMOutputBase

Public Member Functions

 SAMOutputI2S (i2s_port_t i2s_num=I2S_NUM_0)
 
 SAMOutputI2S (i2s_port_t i2s_num, i2s_config_t cfg)
 
 SAMOutputI2S (i2s_port_t i2s_num, i2s_config_t cfg, i2s_pin_config_t pins)
 
const char * name ()
 
int channels ()
 
virtual void open ()
 
virtual int close ()
 
virtual int drain ()
 
virtual bool write (byte *buffer, int bytes_count)
 
void setChannels (int ch)
 
void setBitsPerSample (int bps)
 
- Public Member Functions inherited from SAMOutputBase
virtual int bitsPerSample ()
 
virtual bool isOpen ()
 

Protected Member Functions

void setupDefaultConfig ()
 
void setupDefaultPins ()
 

Protected Attributes

i2s_port_t i2s_num
 
i2s_config_t i2s_config
 
i2s_pin_config_t pin_config
 
const char * TAG = "SAMOutputI2S"
 
- Protected Attributes inherited from SAMOutputBase
bool is_open = false
 
int channel_count = -1
 
int bits_per_sample = -1
 

Additional Inherited Members

- Static Public Member Functions inherited from SAMOutputBase
static uint32_t sampleRate ()
 
static void setSampleRate (uint32_t rate)
 

Detailed Description

Output to I2S for ESP32: This class is obsolete and has been deactivated in the sam_config.h since the related API is not longer supported by Espressif. Use the I2S functionality provided by your core or the AudioTools library instread.


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