Library for Texas Instruments TLV320AIC23B hi-def audio chip note: requires I2SSlave abstraction library
Dependents: playback FTSESpeech i2s_audio_echo i2s_audio_sampler ... more
Diff: TLV320.h
- Revision:
- 1:7e76c6f56169
- Parent:
- 0:bb2411673898
diff -r bb2411673898 -r 7e76c6f56169 TLV320.h --- 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)){