Forked Library from TLV320 to drive Dialog Semiconductor DA7212 Audio codec IC

Fork of TLV320 by Daniel Worrall

Revision:
1:7e76c6f56169
Parent:
0:bb2411673898
--- a/TLV320.h	Thu Aug 04 15:04:59 2011 +0000
+++ b/TLV320.h	Thu Aug 04 15:07:00 2011 +0000
@@ -106,12 +106,12 @@
          *
          */
         void read(void);
-        /** Attach a void/void function or void/void static member funciton to an interrupt generated by the I2SxxFIFOs
+        /** Attach a void/void function or void/void static member function to an interrupt generated by the I2SxxFIFOs
          *
          * @param function Function to attach
          *
-         * e.g. myTlv320Object.attach(&myfunction);
-         * OR   myTlv320Object.attach(&myClass::myStaticMemberFunction);
+         * e.g. <code> myTlv320Object.attach(&myfunction);</code>
+         * OR  <code> myTlv320Object.attach(&myClass::myStaticMemberFunction);</code>
          */
         void attach(void(*fptr)(void));
         /** Attach a nonstatic void/void member function to an interrupt generated by the I2SxxFIFOs
@@ -119,7 +119,7 @@
          * @param tptr Object pointer
          * @param mptr Member function pointer
          *
-         * e.g. myTlv320Object.attach(&myObject, &myClass::myNonstaticMemberFunction); where myObject is an object of myClass
+         * e.g. <code>myTlv320Object.attach(&myObject, &myClass::myNonstaticMemberFunction);</code> where myObject is an object of myClass
          */
         template<typename T>
         void attach(T *tptr, void(T::*mptr)(void)){