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.
Uart/usbhost_uart.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_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