This package contains a simple test of tests for various elements of the SmartBoard hardware, which is a simple baseboard designed for easy embedding. It is able to run both a semi-automatic test suite as well as allow interactive testing.
Dependencies: EthernetNetIf NTPClient_NetServices mbed
This program is most of what you need to test your SmartBoard baseboard hardware. It provides a means to test the following:
- Two channels of CAN (with a loopback cable)
- RS-232 Ports
- Analog inputs
- PWM outputs
- Ethernet port
- Real time clock
- micro SD
- USB Host port
USBHostLite/usbhost_inc.h@5:42b456ce6f71, 2011-04-04 (annotated)
- Committer:
- WiredHome
- Date:
- Mon Apr 04 11:33:23 2011 +0000
- Revision:
- 5:42b456ce6f71
- Parent:
- 4:ca93a8d4874d
Several minor updates
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
WiredHome | 4:ca93a8d4874d | 1 | /* |
WiredHome | 4:ca93a8d4874d | 2 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 3 | * NXP USB Host Stack |
WiredHome | 4:ca93a8d4874d | 4 | * |
WiredHome | 4:ca93a8d4874d | 5 | * (c) Copyright 2008, NXP SemiConductors |
WiredHome | 4:ca93a8d4874d | 6 | * (c) Copyright 2008, OnChip Technologies LLC |
WiredHome | 4:ca93a8d4874d | 7 | * All Rights Reserved |
WiredHome | 4:ca93a8d4874d | 8 | * |
WiredHome | 4:ca93a8d4874d | 9 | * www.nxp.com |
WiredHome | 4:ca93a8d4874d | 10 | * www.onchiptech.com |
WiredHome | 4:ca93a8d4874d | 11 | * |
WiredHome | 4:ca93a8d4874d | 12 | * File : usbhost_inc.h |
WiredHome | 4:ca93a8d4874d | 13 | * Programmer(s) : Ravikanth.P |
WiredHome | 4:ca93a8d4874d | 14 | * Version : |
WiredHome | 4:ca93a8d4874d | 15 | * |
WiredHome | 4:ca93a8d4874d | 16 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 17 | */ |
WiredHome | 4:ca93a8d4874d | 18 | |
WiredHome | 4:ca93a8d4874d | 19 | #ifndef USBHOST_INC_H |
WiredHome | 4:ca93a8d4874d | 20 | #define USBHOST_INC_H |
WiredHome | 4:ca93a8d4874d | 21 | |
WiredHome | 4:ca93a8d4874d | 22 | /* |
WiredHome | 4:ca93a8d4874d | 23 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 24 | * INCLUDE HEADER FILES |
WiredHome | 4:ca93a8d4874d | 25 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 26 | */ |
WiredHome | 4:ca93a8d4874d | 27 | |
WiredHome | 4:ca93a8d4874d | 28 | #include "usbhost_cpu.h" |
WiredHome | 4:ca93a8d4874d | 29 | #include "usbhost_err.h" |
WiredHome | 4:ca93a8d4874d | 30 | #include "usbhost_lpc17xx.h" |
WiredHome | 4:ca93a8d4874d | 31 | #include "usbhost_ms.h" |
WiredHome | 4:ca93a8d4874d | 32 | #include "mbed.h" |
WiredHome | 4:ca93a8d4874d | 33 | |
WiredHome | 4:ca93a8d4874d | 34 | |
WiredHome | 4:ca93a8d4874d | 35 | #ifdef TARGET_LPC2368 |
WiredHome | 4:ca93a8d4874d | 36 | #error "There is no USB host on the LPC2368!" |
WiredHome | 4:ca93a8d4874d | 37 | #endif |
WiredHome | 4:ca93a8d4874d | 38 | |
WiredHome | 4:ca93a8d4874d | 39 | #endif |