Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: ton_demo ton_template
usbd_cdc_if_template.h
00001 /** 00002 ****************************************************************************** 00003 * @file usbd_cdc_if_template.h 00004 * @author MCD Application Team 00005 * @version V2.3.0 00006 * @date 04-November-2014 00007 * @brief Header for usbd_cdc_if_template.c file. 00008 ****************************************************************************** 00009 * @attention 00010 * 00011 * <h2><center>© COPYRIGHT 2014 STMicroelectronics</center></h2> 00012 * 00013 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); 00014 * You may not use this file except in compliance with the License. 00015 * You may obtain a copy of the License at: 00016 * 00017 * http://www.st.com/software_license_agreement_liberty_v2 00018 * 00019 * Unless required by applicable law or agreed to in writing, software 00020 * distributed under the License is distributed on an "AS IS" BASIS, 00021 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00022 * See the License for the specific language governing permissions and 00023 * limitations under the License. 00024 * 00025 ****************************************************************************** 00026 */ 00027 00028 /* Define to prevent recursive inclusion -------------------------------------*/ 00029 #ifndef __USBD_CDC_IF_TEMPLATE_H 00030 #define __USBD_CDC_IF_TEMPLATE_H 00031 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #endif 00035 00036 /* Includes ------------------------------------------------------------------*/ 00037 #include "usbd_cdc.h" 00038 00039 /* Exported types ------------------------------------------------------------*/ 00040 /* Exported constants --------------------------------------------------------*/ 00041 00042 extern USBD_CDC_ItfTypeDef USBD_CDC_Template_fops; 00043 00044 /* Exported macro ------------------------------------------------------------*/ 00045 /* Exported functions ------------------------------------------------------- */ 00046 00047 00048 00049 int VCP_read(void *pBuffer, int size); 00050 int VCP_write(const void *pBuffer, int size); 00051 00052 00053 #ifdef __cplusplus 00054 } 00055 #endif 00056 00057 #endif /* __USBD_CDC_IF_TEMPLATE_H */ 00058 00059 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Generated on Tue Jul 12 2022 20:52:33 by
1.7.2