Usb read
Dependencies: FATFileSystem
Fork of F401RE-USBHost by
USBHost/USBDeviceConnected.h@6:03ef38d6e1ba, 2014-01-28 (annotated)
- Committer:
- va009039
- Date:
- Tue Jan 28 06:49:45 2014 +0000
- Revision:
- 6:03ef38d6e1ba
- Child:
- 8:6463cd1964c0
Control transfer status stage must set DATA1.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 6:03ef38d6e1ba | 1 | /* mbed USBHost Library |
va009039 | 6:03ef38d6e1ba | 2 | * Copyright (c) 2006-2013 ARM Limited |
va009039 | 6:03ef38d6e1ba | 3 | * |
va009039 | 6:03ef38d6e1ba | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
va009039 | 6:03ef38d6e1ba | 5 | * you may not use this file except in compliance with the License. |
va009039 | 6:03ef38d6e1ba | 6 | * You may obtain a copy of the License at |
va009039 | 6:03ef38d6e1ba | 7 | * |
va009039 | 6:03ef38d6e1ba | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
va009039 | 6:03ef38d6e1ba | 9 | * |
va009039 | 6:03ef38d6e1ba | 10 | * Unless required by applicable law or agreed to in writing, software |
va009039 | 6:03ef38d6e1ba | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
va009039 | 6:03ef38d6e1ba | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
va009039 | 6:03ef38d6e1ba | 13 | * See the License for the specific language governing permissions and |
va009039 | 6:03ef38d6e1ba | 14 | * limitations under the License. |
va009039 | 6:03ef38d6e1ba | 15 | */ |
va009039 | 6:03ef38d6e1ba | 16 | #pragma once |
va009039 | 6:03ef38d6e1ba | 17 | |
va009039 | 6:03ef38d6e1ba | 18 | #include "USBEndpoint.h" |
va009039 | 6:03ef38d6e1ba | 19 | #include "USBHostConf.h" |
va009039 | 6:03ef38d6e1ba | 20 | |
va009039 | 6:03ef38d6e1ba | 21 | /** |
va009039 | 6:03ef38d6e1ba | 22 | * USBDeviceConnected class |
va009039 | 6:03ef38d6e1ba | 23 | */ |
va009039 | 6:03ef38d6e1ba | 24 | class USBDeviceConnected |
va009039 | 6:03ef38d6e1ba | 25 | { |
va009039 | 6:03ef38d6e1ba | 26 | public: |
va009039 | 6:03ef38d6e1ba | 27 | uint16_t vid; |
va009039 | 6:03ef38d6e1ba | 28 | uint16_t pid; |
va009039 | 6:03ef38d6e1ba | 29 | uint8_t addr; |
va009039 | 6:03ef38d6e1ba | 30 | }; |