Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1_local.h@0:098463de4c5d, 2017-01-25 (annotated)
- Committer:
- group-onsemi
- Date:
- Wed Jan 25 20:34:15 2017 +0000
- Revision:
- 0:098463de4c5d
Initial commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| group-onsemi | 0:098463de4c5d | 1 | /* Copyright (c) 2010-2011 mbed.org, MIT License |
| group-onsemi | 0:098463de4c5d | 2 | * |
| group-onsemi | 0:098463de4c5d | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
| group-onsemi | 0:098463de4c5d | 4 | * and associated documentation files (the "Software"), to deal in the Software without |
| group-onsemi | 0:098463de4c5d | 5 | * restriction, including without limitation the rights to use, copy, modify, merge, publish, |
| group-onsemi | 0:098463de4c5d | 6 | * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the |
| group-onsemi | 0:098463de4c5d | 7 | * Software is furnished to do so, subject to the following conditions: |
| group-onsemi | 0:098463de4c5d | 8 | * |
| group-onsemi | 0:098463de4c5d | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
| group-onsemi | 0:098463de4c5d | 10 | * substantial portions of the Software. |
| group-onsemi | 0:098463de4c5d | 11 | * |
| group-onsemi | 0:098463de4c5d | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
| group-onsemi | 0:098463de4c5d | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| group-onsemi | 0:098463de4c5d | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
| group-onsemi | 0:098463de4c5d | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| group-onsemi | 0:098463de4c5d | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| group-onsemi | 0:098463de4c5d | 17 | */ |
| group-onsemi | 0:098463de4c5d | 18 | |
| group-onsemi | 0:098463de4c5d | 19 | #ifndef OHCI_WRAPP_RZ_A1_LOCAL_H |
| group-onsemi | 0:098463de4c5d | 20 | #define OHCI_WRAPP_RZ_A1_LOCAL_H |
| group-onsemi | 0:098463de4c5d | 21 | |
| group-onsemi | 0:098463de4c5d | 22 | #ifdef __cplusplus |
| group-onsemi | 0:098463de4c5d | 23 | extern "C" { |
| group-onsemi | 0:098463de4c5d | 24 | #endif |
| group-onsemi | 0:098463de4c5d | 25 | |
| group-onsemi | 0:098463de4c5d | 26 | /* ConditionCode */ |
| group-onsemi | 0:098463de4c5d | 27 | #define TD_CC_NOERROR (0) |
| group-onsemi | 0:098463de4c5d | 28 | #define TD_CC_CRC (1) |
| group-onsemi | 0:098463de4c5d | 29 | #define TD_CC_BITSTUFFING (2) |
| group-onsemi | 0:098463de4c5d | 30 | #define TD_CC_DATATOGGLEMISMATCH (3) |
| group-onsemi | 0:098463de4c5d | 31 | #define TD_CC_STALL (4) |
| group-onsemi | 0:098463de4c5d | 32 | #define TD_CC_DEVICENOTRESPONDING (5) |
| group-onsemi | 0:098463de4c5d | 33 | #define TD_CC_PIDCHECKFAILURE (6) |
| group-onsemi | 0:098463de4c5d | 34 | #define TD_CC_UNEXPECTEDPID (7) |
| group-onsemi | 0:098463de4c5d | 35 | #define TD_CC_DATAOVERRUN (8) |
| group-onsemi | 0:098463de4c5d | 36 | #define TD_CC_DATAUNDERRUN (9) |
| group-onsemi | 0:098463de4c5d | 37 | #define TD_CC_BUFFEROVERRUN (12) |
| group-onsemi | 0:098463de4c5d | 38 | #define TD_CC_BUFFERUNDERRUN (13) |
| group-onsemi | 0:098463de4c5d | 39 | #define TD_CC_NOT_ACCESSED_1 (14) |
| group-onsemi | 0:098463de4c5d | 40 | #define TD_CC_NOT_ACCESSED_2 (15) |
| group-onsemi | 0:098463de4c5d | 41 | |
| group-onsemi | 0:098463de4c5d | 42 | extern void ohciwrapp_loc_Connect(uint32_t type); |
| group-onsemi | 0:098463de4c5d | 43 | extern void ohciwrapp_loc_TransEnd(uint32_t pipe, uint32_t ConditionCode); |
| group-onsemi | 0:098463de4c5d | 44 | |
| group-onsemi | 0:098463de4c5d | 45 | #ifdef __cplusplus |
| group-onsemi | 0:098463de4c5d | 46 | } |
| group-onsemi | 0:098463de4c5d | 47 | #endif |
| group-onsemi | 0:098463de4c5d | 48 | |
| group-onsemi | 0:098463de4c5d | 49 | #endif /* OHCI_WRAPP_RZ_A1_LOCAL_H */ |