Record audio data to a .wav file, complete with header, using the TLV320 CODEC and I2S port

Dependencies:   mbed

Committer:
d_worrall
Date:
Fri Aug 05 15:00:51 2011 +0000
Revision:
0:e7efc8468066
version 2.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
d_worrall 0:e7efc8468066 1 /*
d_worrall 0:e7efc8468066 2 **************************************************************************************************************
d_worrall 0:e7efc8468066 3 * NXP USB Host Stack
d_worrall 0:e7efc8468066 4 *
d_worrall 0:e7efc8468066 5 * (c) Copyright 2008, NXP SemiConductors
d_worrall 0:e7efc8468066 6 * (c) Copyright 2008, OnChip Technologies LLC
d_worrall 0:e7efc8468066 7 * All Rights Reserved
d_worrall 0:e7efc8468066 8 *
d_worrall 0:e7efc8468066 9 * www.nxp.com
d_worrall 0:e7efc8468066 10 * www.onchiptech.com
d_worrall 0:e7efc8468066 11 *
d_worrall 0:e7efc8468066 12 * File : usbhost_inc.h
d_worrall 0:e7efc8468066 13 * Programmer(s) : Ravikanth.P
d_worrall 0:e7efc8468066 14 * Version :
d_worrall 0:e7efc8468066 15 *
d_worrall 0:e7efc8468066 16 **************************************************************************************************************
d_worrall 0:e7efc8468066 17 */
d_worrall 0:e7efc8468066 18
d_worrall 0:e7efc8468066 19 #ifndef USBHOST_INC_H
d_worrall 0:e7efc8468066 20 #define USBHOST_INC_H
d_worrall 0:e7efc8468066 21
d_worrall 0:e7efc8468066 22 /*
d_worrall 0:e7efc8468066 23 **************************************************************************************************************
d_worrall 0:e7efc8468066 24 * INCLUDE HEADER FILES
d_worrall 0:e7efc8468066 25 **************************************************************************************************************
d_worrall 0:e7efc8468066 26 */
d_worrall 0:e7efc8468066 27
d_worrall 0:e7efc8468066 28 #include "usbhost_cpu.h"
d_worrall 0:e7efc8468066 29 #include "usbhost_err.h"
d_worrall 0:e7efc8468066 30 #include "usbhost_lpc17xx.h"
d_worrall 0:e7efc8468066 31 #include "usbhost_ms.h"
d_worrall 0:e7efc8468066 32 #include "mbed.h"
d_worrall 0:e7efc8468066 33
d_worrall 0:e7efc8468066 34
d_worrall 0:e7efc8468066 35 #ifdef TARGET_LPC2368
d_worrall 0:e7efc8468066 36 #error "There is no USB host on the LPC2368!"
d_worrall 0:e7efc8468066 37 #endif
d_worrall 0:e7efc8468066 38
d_worrall 0:e7efc8468066 39 #endif