forked for unsupported target
Dependents: stm32-disco-example DISCO-F469NI_BD_SD_Card_Control
Fork of USBHOST by
USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1_local.h@1:ab240722d7ef, 2017-02-15 (annotated)
- Committer:
- frq08711@LMECWL0871.LME.ST.COM
- Date:
- Wed Feb 15 10:49:44 2017 +0100
- Revision:
- 1:ab240722d7ef
update to mbed 5.3.5
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 1 | /* Copyright (c) 2010-2011 mbed.org, MIT License |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 2 | * |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 4 | * and associated documentation files (the "Software"), to deal in the Software without |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 5 | * restriction, including without limitation the rights to use, copy, modify, merge, publish, |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 6 | * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 7 | * Software is furnished to do so, subject to the following conditions: |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 8 | * |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 10 | * substantial portions of the Software. |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 11 | * |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 17 | */ |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 18 | |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 19 | #ifndef OHCI_WRAPP_RZ_A1_LOCAL_H |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 20 | #define OHCI_WRAPP_RZ_A1_LOCAL_H |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 21 | |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 22 | #ifdef __cplusplus |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 23 | extern "C" { |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 24 | #endif |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 25 | |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 26 | /* ConditionCode */ |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 27 | #define TD_CC_NOERROR (0) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 28 | #define TD_CC_CRC (1) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 29 | #define TD_CC_BITSTUFFING (2) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 30 | #define TD_CC_DATATOGGLEMISMATCH (3) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 31 | #define TD_CC_STALL (4) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 32 | #define TD_CC_DEVICENOTRESPONDING (5) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 33 | #define TD_CC_PIDCHECKFAILURE (6) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 34 | #define TD_CC_UNEXPECTEDPID (7) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 35 | #define TD_CC_DATAOVERRUN (8) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 36 | #define TD_CC_DATAUNDERRUN (9) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 37 | #define TD_CC_BUFFEROVERRUN (12) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 38 | #define TD_CC_BUFFERUNDERRUN (13) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 39 | #define TD_CC_NOT_ACCESSED_1 (14) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 40 | #define TD_CC_NOT_ACCESSED_2 (15) |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 41 | |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 42 | extern void ohciwrapp_loc_Connect(uint32_t type); |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 43 | extern void ohciwrapp_loc_TransEnd(uint32_t pipe, uint32_t ConditionCode); |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 44 | |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 45 | #ifdef __cplusplus |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 46 | } |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 47 | #endif |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 48 | |
frq08711@LMECWL0871.LME.ST.COM | 1:ab240722d7ef | 49 | #endif /* OHCI_WRAPP_RZ_A1_LOCAL_H */ |