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