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.
usb_istr.h
00001 /******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** 00002 * File Name : usb_istr.h 00003 * Author : MCD Application Team 00004 * Version : V3.3.0 00005 * Date : 21-March-2011 00006 * Description : This file includes the peripherals header files in the 00007 * user application. 00008 ******************************************************************************** 00009 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 00010 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. 00011 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, 00012 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE 00013 * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING 00014 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 00015 *******************************************************************************/ 00016 00017 /* Define to prevent recursive inclusion -------------------------------------*/ 00018 #ifndef __USB_ISTR_H 00019 #define __USB_ISTR_H 00020 00021 /* Includes ------------------------------------------------------------------*/ 00022 #include "usb_conf.h" 00023 00024 /* Exported types ------------------------------------------------------------*/ 00025 /* Exported constants --------------------------------------------------------*/ 00026 /* Exported macro ------------------------------------------------------------*/ 00027 /* Exported functions ------------------------------------------------------- */ 00028 00029 #ifndef STM32F10X_CL 00030 void USB_Istr(void); 00031 #else /* STM32F10X_CL */ 00032 u32 STM32_PCD_OTG_ISR_Handler(void); 00033 #endif /* STM32F10X_CL */ 00034 00035 /* function prototypes Automatically built defining related macros */ 00036 00037 void EP1_IN_Callback(void); 00038 void EP2_IN_Callback(void); 00039 void EP3_IN_Callback(void); 00040 void EP4_IN_Callback(void); 00041 void EP5_IN_Callback(void); 00042 void EP6_IN_Callback(void); 00043 void EP7_IN_Callback(void); 00044 00045 void EP1_OUT_Callback(void); 00046 void EP2_OUT_Callback(void); 00047 void EP3_OUT_Callback(void); 00048 void EP4_OUT_Callback(void); 00049 void EP5_OUT_Callback(void); 00050 void EP6_OUT_Callback(void); 00051 void EP7_OUT_Callback(void); 00052 00053 #ifndef STM32F10X_CL 00054 00055 #ifdef CTR_CALLBACK 00056 void CTR_Callback(void); 00057 #endif 00058 00059 #ifdef DOVR_CALLBACK 00060 void DOVR_Callback(void); 00061 #endif 00062 00063 #ifdef ERR_CALLBACK 00064 void ERR_Callback(void); 00065 #endif 00066 00067 #ifdef WKUP_CALLBACK 00068 void WKUP_Callback(void); 00069 #endif 00070 00071 #ifdef SUSP_CALLBACK 00072 void SUSP_Callback(void); 00073 #endif 00074 00075 #ifdef RESET_CALLBACK 00076 void RESET_Callback(void); 00077 #endif 00078 00079 #ifdef SOF_CALLBACK 00080 void SOF_Callback(void); 00081 #endif 00082 00083 #ifdef ESOF_CALLBACK 00084 void ESOF_Callback(void); 00085 #endif 00086 00087 #else /* STM32F10X_CL */ 00088 00089 /* Interrupt subroutines user callbacks prototypes. 00090 These callbacks are called into the respective interrupt subroutine functions 00091 and can be tailored for various user application purposes. 00092 Note: Make sure that the correspondent interrupt is enabled through the 00093 definition in usb_conf.h file */ 00094 void INTR_MODEMISMATCH_Callback(void); 00095 void INTR_SOFINTR_Callback(void); 00096 void INTR_RXSTSQLVL_Callback(void); 00097 void INTR_NPTXFEMPTY_Callback(void); 00098 void INTR_GINNAKEFF_Callback(void); 00099 void INTR_GOUTNAKEFF_Callback(void); 00100 void INTR_ERLYSUSPEND_Callback(void); 00101 void INTR_USBSUSPEND_Callback(void); 00102 void INTR_USBRESET_Callback(void); 00103 void INTR_ENUMDONE_Callback(void); 00104 void INTR_ISOOUTDROP_Callback(void); 00105 void INTR_EOPFRAME_Callback(void); 00106 void INTR_EPMISMATCH_Callback(void); 00107 void INTR_INEPINTR_Callback(void); 00108 void INTR_OUTEPINTR_Callback(void); 00109 void INTR_INCOMPLISOIN_Callback(void); 00110 void INTR_INCOMPLISOOUT_Callback(void); 00111 void INTR_WKUPINTR_Callback(void); 00112 00113 /* Isochronous data update */ 00114 void INTR_RXSTSQLVL_ISODU_Callback(void); 00115 00116 #endif /* STM32F10X_CL */ 00117 00118 00119 #endif /*__USB_ISTR_H*/ 00120 00121 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
Generated on Tue Jul 12 2022 20:45:32 by
 1.7.2
 1.7.2