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: Uart/usbhost_uart.h
- Revision:
- 0:0826fcc5d020
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Uart/usbhost_uart.h Wed Jan 13 01:29:30 2010 +0000 @@ -0,0 +1,51 @@ +/* +************************************************************************************************************** +* 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_uart.h +* Programmer(s) : Prasad.K.R.S.V +* Version : +* +************************************************************************************************************** +*/ + +#ifndef USBHOST_UART_H +#define USBHOST_UART_H + +/* +************************************************************************************************************** +* INCLUDE HEADER FILES +************************************************************************************************************** +*/ + +#include <stdarg.h> +#include <stdio.h> +#include "usbhost_inc.h" + +/* +************************************************************************************************************** +* UART DEFINITIONS +************************************************************************************************************** +*/ +//#define Fcclk 48000000 +//#define Fpclk (Fcclk / 2) + +/* +************************************************************************************************************** +* FUNCTION PROTOTYPES +************************************************************************************************************** +*/ + +void UART_Init ( USB_INT32U baudrate); +void UART_PrintChar ( USB_INT08U ch); +void UART_PrintStr (const USB_INT08U *str); +void UART_Printf(const USB_INT08U *format, ...); + +#endif