tas5706a.h

Go to the documentation of this file.
00001 
00045 #ifndef DRV_TAS5706A_H
00046 #define DRV_TAS5706A_H
00047 
00048 #include <cfg/compiler.h>
00049 
00050 typedef enum Tas5706aCh
00051 {
00052     TAS_CH1,
00053     TAS_CH2,
00054     TAS_CNT,
00055 } Tas5706aCh;
00056 
00060 #define TAS_VOL_MIN 0
00061 
00065 #define TAS_VOL_MAX 100
00066 
00067 typedef uint8_t tas5706a_vol_t;
00068 
00077 void tas5706a_setVolume(Tas5706aCh ch, tas5706a_vol_t vol);
00078 
00082 void tas5706a_init(void);
00083 
00092 void tas5706a_setLowPower(bool val);
00093 
00094 #endif /* DRV_TAS5706A_H */