Sam Grove / TLV320AIC1110

Files at this revision

API Documentation at this revision

Comitter:
sam_grove
Date:
Tue May 21 15:16:44 2013 +0000
Parent:
4:470f89e786f9
Commit message:
added comments

Changed in this revision

TLV320AIC1110.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/TLV320AIC1110.cpp	Fri May 17 20:33:16 2013 +0000
+++ b/TLV320AIC1110.cpp	Tue May 21 15:16:44 2013 +0000
@@ -41,9 +41,9 @@
 
 void TLV320AIC1110::init(void)
 {
-    writeRegister(POWER_CONTROL, 0x9B);
-    writeRegister(MODE_CONTROL, 0x00);
-    writeRegister(AUX, 0x81);
+    writeRegister(POWER_CONTROL, 0x9B); // reg 0
+    writeRegister(MODE_CONTROL, 0x00);  // reg 1
+    writeRegister(AUX, 0x81);           // reg 6
     
     return;
 }