arduino-audio-tools
Public Member Functions | Protected Attributes | Friends | List of all members
I2SDriverSAMD Class Reference

Basic I2S API - for the SAMD. More...

#include <I2SSAMD.h>

Public Member Functions

int available ()
 
int availableForWrite ()
 
bool begin ()
 
bool begin (I2SConfigStd cfg)
 starts the DAC
 
bool begin (RxTxMode mode)
 starts the DAC with the default config
 
I2SConfigStd config ()
 provides the actual configuration
 
I2SConfigStd defaultConfig (RxTxMode mode)
 Provides the default configuration.
 
void end ()
 stops the I2C and unistalls the driver
 
size_t readBytes (void *src, size_t size_bytes)
 
bool setAudioInfo (AudioInfo)
 Potentially updates the sample rate (if supported)
 
size_t writeBytes (const void *src, size_t size_bytes)
 

Protected Attributes

I2SConfigStd cfg
 

Friends

class I2SStream
 

Detailed Description

Basic I2S API - for the SAMD.

Author
Phil Schatzmann

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