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
usbd_cdc_if_template.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 | /** |
krebyy | 1:3a73d77c2cef | 2 | ****************************************************************************** |
krebyy | 1:3a73d77c2cef | 3 | * @file usbd_cdc_if_template.h |
krebyy | 1:3a73d77c2cef | 4 | * @author MCD Application Team |
krebyy | 1:3a73d77c2cef | 5 | * @version V2.3.0 |
krebyy | 1:3a73d77c2cef | 6 | * @date 04-November-2014 |
krebyy | 1:3a73d77c2cef | 7 | * @brief Header for usbd_cdc_if_template.c file. |
krebyy | 1:3a73d77c2cef | 8 | ****************************************************************************** |
krebyy | 1:3a73d77c2cef | 9 | * @attention |
krebyy | 1:3a73d77c2cef | 10 | * |
krebyy | 1:3a73d77c2cef | 11 | * <h2><center>© COPYRIGHT 2014 STMicroelectronics</center></h2> |
krebyy | 1:3a73d77c2cef | 12 | * |
krebyy | 1:3a73d77c2cef | 13 | * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); |
krebyy | 1:3a73d77c2cef | 14 | * You may not use this file except in compliance with the License. |
krebyy | 1:3a73d77c2cef | 15 | * You may obtain a copy of the License at: |
krebyy | 1:3a73d77c2cef | 16 | * |
krebyy | 1:3a73d77c2cef | 17 | * http://www.st.com/software_license_agreement_liberty_v2 |
krebyy | 1:3a73d77c2cef | 18 | * |
krebyy | 1:3a73d77c2cef | 19 | * Unless required by applicable law or agreed to in writing, software |
krebyy | 1:3a73d77c2cef | 20 | * distributed under the License is distributed on an "AS IS" BASIS, |
krebyy | 1:3a73d77c2cef | 21 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
krebyy | 1:3a73d77c2cef | 22 | * See the License for the specific language governing permissions and |
krebyy | 1:3a73d77c2cef | 23 | * limitations under the License. |
krebyy | 1:3a73d77c2cef | 24 | * |
krebyy | 1:3a73d77c2cef | 25 | ****************************************************************************** |
krebyy | 1:3a73d77c2cef | 26 | */ |
krebyy | 1:3a73d77c2cef | 27 | |
krebyy | 1:3a73d77c2cef | 28 | /* Define to prevent recursive inclusion -------------------------------------*/ |
krebyy | 1:3a73d77c2cef | 29 | #ifndef __USBD_CDC_IF_TEMPLATE_H |
krebyy | 1:3a73d77c2cef | 30 | #define __USBD_CDC_IF_TEMPLATE_H |
krebyy | 1:3a73d77c2cef | 31 | |
krebyy | 1:3a73d77c2cef | 32 | #ifdef __cplusplus |
krebyy | 1:3a73d77c2cef | 33 | extern "C" { |
krebyy | 1:3a73d77c2cef | 34 | #endif |
krebyy | 1:3a73d77c2cef | 35 | |
krebyy | 1:3a73d77c2cef | 36 | /* Includes ------------------------------------------------------------------*/ |
krebyy | 1:3a73d77c2cef | 37 | #include "usbd_cdc.h" |
krebyy | 1:3a73d77c2cef | 38 | |
krebyy | 1:3a73d77c2cef | 39 | /* Exported types ------------------------------------------------------------*/ |
krebyy | 1:3a73d77c2cef | 40 | /* Exported constants --------------------------------------------------------*/ |
krebyy | 1:3a73d77c2cef | 41 | |
krebyy | 1:3a73d77c2cef | 42 | extern USBD_CDC_ItfTypeDef USBD_CDC_Template_fops; |
krebyy | 1:3a73d77c2cef | 43 | |
krebyy | 1:3a73d77c2cef | 44 | /* Exported macro ------------------------------------------------------------*/ |
krebyy | 1:3a73d77c2cef | 45 | /* Exported functions ------------------------------------------------------- */ |
krebyy | 1:3a73d77c2cef | 46 | |
krebyy | 1:3a73d77c2cef | 47 | |
krebyy | 1:3a73d77c2cef | 48 | |
krebyy | 1:3a73d77c2cef | 49 | int VCP_read(void *pBuffer, int size); |
krebyy | 1:3a73d77c2cef | 50 | int VCP_write(const void *pBuffer, int size); |
krebyy | 1:3a73d77c2cef | 51 | |
krebyy | 1:3a73d77c2cef | 52 | |
krebyy | 1:3a73d77c2cef | 53 | #ifdef __cplusplus |
krebyy | 1:3a73d77c2cef | 54 | } |
krebyy | 1:3a73d77c2cef | 55 | #endif |
krebyy | 1:3a73d77c2cef | 56 | |
krebyy | 1:3a73d77c2cef | 57 | #endif /* __USBD_CDC_IF_TEMPLATE_H */ |
krebyy | 1:3a73d77c2cef | 58 | |
krebyy | 1:3a73d77c2cef | 59 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |