libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::Pcm3060 Class Reference

#include <codec_pcm3060.h>

Public Types

enum class  Result { OK , ERR }
 

Public Member Functions

 Pcm3060 ()
 
 ~Pcm3060 ()
 
Result Init (I2CHandle i2c)
 

Member Enumeration Documentation

◆ Result

Enumerator
OK 
ERR 

Constructor & Destructor Documentation

◆ Pcm3060()

daisy::Pcm3060::Pcm3060 ( )
inline

◆ ~Pcm3060()

daisy::Pcm3060::~Pcm3060 ( )
inline

Member Function Documentation

◆ Init()

Result daisy::Pcm3060::Init ( I2CHandle  i2c)

Initializes the PCM3060 in 24-bit MSB aligned I2S mode, and disables powersave

Parameters
i2cInitialized I2CHandle configured at 400kHz or less

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