IOTON Technology / IOTON-API

Dependents:   ton-bot_teste ton-bot_seguidor_linha ton-bot_seguidor_parede

Fork of IOTON-API by Kleber Silva

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers usb_user.h Source File

usb_user.h

00001 /* Ioton USBCDC Library
00002  * Copyright (c) 2016 Ioton Technology
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef __USB_USER_H
00018 #define __USB_USER_H
00019 
00020 
00021 /* Includes ------------------------------------------------------------------*/
00022 //#include <sys/stat.h>
00023 #include <stdio.h>
00024 #include "usbd_core.h"
00025 #include "usbd_cdc.h"
00026 #include "usbd_cdc_if_template.h"
00027 #include "usbd_desc.h"
00028 #include "stm32f4xx.h"
00029 #include "stm32f4xx_hal_rcc.h"
00030 #include "stm32f4xx_hal_gpio.h"
00031 
00032 
00033 #ifdef __cplusplus
00034 extern "C"{
00035 #endif
00036 
00037 void initUSB (void);
00038 
00039 #ifdef __cplusplus
00040 } // extern "C"
00041 #endif
00042 
00043 
00044 #endif /* __USB_USER_H */