![](/media/cache/profiles/8b0dc65f996f98fd178a9defd0efa077.jpg.50x50_q85.jpg)
This program is an example of of using the MSCUSBHost code with a raw build of ELM Chan Fat Fs. This was done to add both Long File Name Support along with proper time/date stamps (assuming you have a battery hooked up to keep time). This code exposes the Chan API (see main.cpp) and is NOT a c++ class: http://elm-chan.org/fsw/ff/00index_e.html The diskio.c file has the mapping needed to link the filesystem to the MSC stuff
USBHostLite/usbhost_cpu.h
- Committer:
- emh203
- Date:
- 2011-01-23
- Revision:
- 0:2dbbafe1b1fb
File content as of revision 0:2dbbafe1b1fb:
/* ************************************************************************************************************** * 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_cpu.h * Programmer(s) : Ravikanth.P * Version : * ************************************************************************************************************** */ #ifndef USBHOST_CPU_H #define USBHOST_CPU_H /* ************************************************************************************************************** * TYPE DEFINITIONS OF DATA TYPES ************************************************************************************************************** */ typedef unsigned int USB_INT32U; typedef signed int USB_INT32S; typedef unsigned short USB_INT16U; typedef signed short USB_INT16S; typedef unsigned char USB_INT08U; typedef signed char USB_INT08S; #endif