IOTON boards API using mbed SDK - http://ioton.cc/plataforma-ton
Dependents: ton-bot_teste ton-bot_seguidor_linha ton-bot_seguidor_parede
Fork of IOTON-API by
usb_user.h@3:9c7195d31602, 2017-06-29 (annotated)
- Committer:
- krebyy
- Date:
- Thu Jun 29 20:20:49 2017 +0000
- Revision:
- 3:9c7195d31602
- Parent:
- 1:3a73d77c2cef
Update to TON Board V1.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
krebyy | 1:3a73d77c2cef | 1 | /* Ioton USBCDC Library |
krebyy | 1:3a73d77c2cef | 2 | * Copyright (c) 2016 Ioton Technology |
krebyy | 1:3a73d77c2cef | 3 | * |
krebyy | 1:3a73d77c2cef | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
krebyy | 1:3a73d77c2cef | 5 | * you may not use this file except in compliance with the License. |
krebyy | 1:3a73d77c2cef | 6 | * You may obtain a copy of the License at |
krebyy | 1:3a73d77c2cef | 7 | * |
krebyy | 1:3a73d77c2cef | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
krebyy | 1:3a73d77c2cef | 9 | * |
krebyy | 1:3a73d77c2cef | 10 | * Unless required by applicable law or agreed to in writing, software |
krebyy | 1:3a73d77c2cef | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
krebyy | 1:3a73d77c2cef | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
krebyy | 1:3a73d77c2cef | 13 | * See the License for the specific language governing permissions and |
krebyy | 1:3a73d77c2cef | 14 | * limitations under the License. |
krebyy | 1:3a73d77c2cef | 15 | */ |
krebyy | 1:3a73d77c2cef | 16 | |
krebyy | 1:3a73d77c2cef | 17 | #ifndef __USB_USER_H |
krebyy | 1:3a73d77c2cef | 18 | #define __USB_USER_H |
krebyy | 1:3a73d77c2cef | 19 | |
krebyy | 1:3a73d77c2cef | 20 | |
krebyy | 1:3a73d77c2cef | 21 | /* Includes ------------------------------------------------------------------*/ |
krebyy | 1:3a73d77c2cef | 22 | //#include <sys/stat.h> |
krebyy | 1:3a73d77c2cef | 23 | #include <stdio.h> |
krebyy | 1:3a73d77c2cef | 24 | #include "usbd_core.h" |
krebyy | 1:3a73d77c2cef | 25 | #include "usbd_cdc.h" |
krebyy | 1:3a73d77c2cef | 26 | #include "usbd_cdc_if_template.h" |
krebyy | 1:3a73d77c2cef | 27 | #include "usbd_desc.h" |
krebyy | 1:3a73d77c2cef | 28 | #include "stm32f4xx.h" |
krebyy | 1:3a73d77c2cef | 29 | #include "stm32f4xx_hal_rcc.h" |
krebyy | 1:3a73d77c2cef | 30 | #include "stm32f4xx_hal_gpio.h" |
krebyy | 1:3a73d77c2cef | 31 | |
krebyy | 1:3a73d77c2cef | 32 | |
krebyy | 1:3a73d77c2cef | 33 | #ifdef __cplusplus |
krebyy | 1:3a73d77c2cef | 34 | extern "C"{ |
krebyy | 1:3a73d77c2cef | 35 | #endif |
krebyy | 1:3a73d77c2cef | 36 | |
krebyy | 1:3a73d77c2cef | 37 | void initUSB (void); |
krebyy | 1:3a73d77c2cef | 38 | |
krebyy | 1:3a73d77c2cef | 39 | #ifdef __cplusplus |
krebyy | 1:3a73d77c2cef | 40 | } // extern "C" |
krebyy | 1:3a73d77c2cef | 41 | #endif |
krebyy | 1:3a73d77c2cef | 42 | |
krebyy | 1:3a73d77c2cef | 43 | |
krebyy | 1:3a73d77c2cef | 44 | #endif /* __USB_USER_H */ |