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.
Main/usbhost_main.h
- Committer:
- mshoemaker
- Date:
- 2010-01-13
- Revision:
- 0:0826fcc5d020
File content as of revision 0:0826fcc5d020:
/* ************************************************************************************************************** * 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