IOTON boards API using mbed SDK - http://ioton.cc/plataforma-ton

Dependents:   ton_demo ton_template

Committer:
krebyy
Date:
Thu Jun 29 20:20:49 2017 +0000
Revision:
3:9c7195d31602
Parent:
2:3a73d77c2cef
Update to TON Board V1.2

Who changed what in which revision?

UserRevisionLine numberNew contents of line
krebyy 2:3a73d77c2cef 1 /* Ioton USBCDC Library
krebyy 2:3a73d77c2cef 2 * Copyright (c) 2016 Ioton Technology
krebyy 2:3a73d77c2cef 3 *
krebyy 2:3a73d77c2cef 4 * Licensed under the Apache License, Version 2.0 (the "License");
krebyy 2:3a73d77c2cef 5 * you may not use this file except in compliance with the License.
krebyy 2:3a73d77c2cef 6 * You may obtain a copy of the License at
krebyy 2:3a73d77c2cef 7 *
krebyy 2:3a73d77c2cef 8 * http://www.apache.org/licenses/LICENSE-2.0
krebyy 2:3a73d77c2cef 9 *
krebyy 2:3a73d77c2cef 10 * Unless required by applicable law or agreed to in writing, software
krebyy 2:3a73d77c2cef 11 * distributed under the License is distributed on an "AS IS" BASIS,
krebyy 2:3a73d77c2cef 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
krebyy 2:3a73d77c2cef 13 * See the License for the specific language governing permissions and
krebyy 2:3a73d77c2cef 14 * limitations under the License.
krebyy 2:3a73d77c2cef 15 */
krebyy 2:3a73d77c2cef 16
krebyy 2:3a73d77c2cef 17 #ifndef __USB_USER_H
krebyy 2:3a73d77c2cef 18 #define __USB_USER_H
krebyy 2:3a73d77c2cef 19
krebyy 2:3a73d77c2cef 20
krebyy 2:3a73d77c2cef 21 /* Includes ------------------------------------------------------------------*/
krebyy 2:3a73d77c2cef 22 //#include <sys/stat.h>
krebyy 2:3a73d77c2cef 23 #include <stdio.h>
krebyy 2:3a73d77c2cef 24 #include "usbd_core.h"
krebyy 2:3a73d77c2cef 25 #include "usbd_cdc.h"
krebyy 2:3a73d77c2cef 26 #include "usbd_cdc_if_template.h"
krebyy 2:3a73d77c2cef 27 #include "usbd_desc.h"
krebyy 2:3a73d77c2cef 28 #include "stm32f4xx.h"
krebyy 2:3a73d77c2cef 29 #include "stm32f4xx_hal_rcc.h"
krebyy 2:3a73d77c2cef 30 #include "stm32f4xx_hal_gpio.h"
krebyy 2:3a73d77c2cef 31
krebyy 2:3a73d77c2cef 32
krebyy 2:3a73d77c2cef 33 #ifdef __cplusplus
krebyy 2:3a73d77c2cef 34 extern "C"{
krebyy 2:3a73d77c2cef 35 #endif
krebyy 2:3a73d77c2cef 36
krebyy 2:3a73d77c2cef 37 void initUSB (void);
krebyy 2:3a73d77c2cef 38
krebyy 2:3a73d77c2cef 39 #ifdef __cplusplus
krebyy 2:3a73d77c2cef 40 } // extern "C"
krebyy 2:3a73d77c2cef 41 #endif
krebyy 2:3a73d77c2cef 42
krebyy 2:3a73d77c2cef 43
krebyy 2:3a73d77c2cef 44 #endif /* __USB_USER_H */