|
Raspberry Pio Pico Drivers project
|
lower part of the Adau1361 CODEC controller class. More...
#include <umbadau1361lower.hpp>


Public Member Functions | |
| UmbAdau1361Lower (::rpp_driver::I2cMaster &controller, unsigned int i2c_device_addr) | |
| Construct a new object. | |
| void | ConfigureSignalPath () override |
| Initialize registers for the signal routing. | |
Public Member Functions inherited from rpp_driver::Adau1361Lower | |
| Adau1361Lower (::rpp_driver::I2cMaster &controller, unsigned int i2c_device_addr) | |
| Construct a new object. | |
| virtual void | SendCommand (const uint8_t command[], int size) |
| send one command to ADAU1361. | |
| virtual void | SendCommandTable (const uint8_t table[][3], int rows) |
| Send multiple commands to ADAU1361. | |
| virtual bool | IsI2CDeviceExisting () |
| Check whether I2C device exist or not. | |
| virtual void | InitializeCore () |
| Reset the core for fresh procedure. | |
| virtual void | DisablePLL () |
| stop PLL to re-program. | |
| virtual void | WaitPllLock (void) |
| wait until PLL locks. | |
| virtual void | ConfigurePll (unsigned int fs, unsigned int master_clock) |
| Initialize the PLL with given fs and master clock. | |
| virtual void | ConfigureSrc (unsigned int fs) |
| Initialize the SRC with given fs clock. | |
| virtual void | EnableCore () |
| Initialize the core part of the ADAU1361A. | |
| virtual void | InitializeRegisters () |
| Initialize registers for the chip operation. | |
| virtual void | ConfigureSignalPath ()=0 |
| Initialize registers for the signal routing. | |
| virtual void | SetLineInputGain (float left_gain, float right_gain, bool mute) |
| Set the line input gain and enable the relevant mixer. | |
| virtual void | SetAuxInputGain (float left_gain, float right_gain, bool mute) |
| Set the aux input gain and enable the relevant mixer. | |
| virtual void | SetLineOutputGain (float left_gain, float right_gain, bool mute) |
| Set the line output gain and enable the relevant mixer. | |
| virtual void | SetHpOutputGain (float left_gain, float right_gain, bool mute) |
| Set the headphone output gain and enable the relevant mixer. | |
Additional Inherited Members | |
Protected Attributes inherited from rpp_driver::Adau1361Lower | |
| ::rpp_driver::I2cMaster & | i2c_ |
| Internal variable to hold the I2C controller variable. | |
| const unsigned int | device_addr_ |
| Internal variable to hold the I2C device address. | |
lower part of the Adau1361 CODEC controller class.
This is dedicated class for UMB-ADAU1361-A board. All signal routings are configured for this board.
|
inline |
Construct a new object.
| controller | I2C master controller. |
| i2c_device_addr | ADAU1361A 7bits I2C device address. Refer device deta sheet for details. |
|
overridevirtual |
Initialize registers for the signal routing.
This is baord dependent initialization for UMB-ADAU1361A.
Need to call after InitializeRegisters().
Implements rpp_driver::Adau1361Lower.