![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
USB Host Lite downloaded from NXP web site. Untested! Compiled, dropped on MBED, booted up, and get the console message that it is initializing the stack. I however do not have the ability to connect a USB Memory device to test it.
Diff: Main/usbhost_main.h
- Revision:
- 0:0826fcc5d020
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Main/usbhost_main.h Wed Jan 13 01:29:30 2010 +0000 @@ -0,0 +1,52 @@ +/* +************************************************************************************************************** +* NXP USB Host Stack +* +* (c) Copyright 2008, NXP SemiConductors +* (c) Copyright 2008, OnChip Technologies LLC +* All Rights Reserved +* +* www.nxp.com +* www.onchiptech.com +* +* File : usbhost_main.h +* Programmer(s) : Ravikanth.P +* Version : +* +************************************************************************************************************** +*/ + +#ifndef USBHOST_MAIN_H +#define USBHOST_MAIN_H + +/* +************************************************************************************************************** +* DEFINITIONS +************************************************************************************************************** +*/ + +#include "usbhost_inc.h" + +/* +************************************************************************************************************** +* DEFINITIONS +************************************************************************************************************** +*/ + +#define FILENAME_R "MSREAD.TXT" +#define FILENAME_W "MSWRITE.TXT" + +#define MAX_BUFFER_SIZE (4000) +#define WRITE_SIZE (10 * 1000000) + +/* +************************************************************************************************************** +* FUNCTION PROTOTYPES +************************************************************************************************************** +*/ + +void Main_Read (void); +void Main_Write(void); +void Main_Copy (void); + +#endif