dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_usb_hid_istr.h
Go to the documentation of this file.
1 /******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
2 * File Name : usb_istr.h
3 * Author : MCD Application Team
4 * Version : V3.2.1
5 * Date : 07/05/2010
6 * Description : This file includes the peripherals header files in the
7 * user application.
8 ********************************************************************************
9 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
10 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
11 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
12 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
13 * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
14 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
15 *******************************************************************************/
16 
17 /* Define to prevent recursive inclusion -------------------------------------*/
18 #ifndef __USB_ISTR_H
19 #define __USB_ISTR_H
20 
21 /* Includes ------------------------------------------------------------------*/
22 #include "usb_conf.h"
23 
24 /* Exported types ------------------------------------------------------------*/
25 /* Exported constants --------------------------------------------------------*/
26 /* Exported macro ------------------------------------------------------------*/
27 /* Exported functions ------------------------------------------------------- */
28 
29 #ifndef STM32F10X_CL
30 void USB_Istr(void);
31 #else /* STM32F10X_CL */
32 u32 STM32_PCD_OTG_ISR_Handler(void);
33 #endif /* STM32F10X_CL */
34 
35 /* function prototypes Automatically built defining related macros */
36 
37 void EP1_IN_Callback(void);
38 void EP2_IN_Callback(void);
39 void EP3_IN_Callback(void);
40 void EP4_IN_Callback(void);
41 void EP5_IN_Callback(void);
42 void EP6_IN_Callback(void);
43 void EP7_IN_Callback(void);
44 
45 void EP1_OUT_Callback(void);
46 void EP2_OUT_Callback(void);
47 void EP3_OUT_Callback(void);
48 void EP4_OUT_Callback(void);
49 void EP5_OUT_Callback(void);
50 void EP6_OUT_Callback(void);
51 void EP7_OUT_Callback(void);
52 
53 #ifndef STM32F10X_CL
54 
55 #ifdef CTR_CALLBACK
56 void CTR_Callback(void);
57 #endif
58 
59 #ifdef DOVR_CALLBACK
60 void DOVR_Callback(void);
61 #endif
62 
63 #ifdef ERR_CALLBACK
64 void ERR_Callback(void);
65 #endif
66 
67 #ifdef WKUP_CALLBACK
68 void WKUP_Callback(void);
69 #endif
70 
71 #ifdef SUSP_CALLBACK
72 void SUSP_Callback(void);
73 #endif
74 
75 #ifdef RESET_CALLBACK
76 void RESET_Callback(void);
77 #endif
78 
79 #ifdef SOF_CALLBACK
80 void SOF_Callback(void);
81 #endif
82 
83 #ifdef ESOF_CALLBACK
84 void ESOF_Callback(void);
85 #endif
86 
87 #else /* STM32F10X_CL */
88 
89 /* Interrupt subroutines user callbacks prototypes.
90  These callbacks are called into the respective interrupt sunroutine functinos
91  and can be tailored for various user application purposes.
92  Note: Make sure that the correspondant interrupt is enabled through the
93  definition in usb_conf.h file */
94 void INTR_MODEMISMATCH_Callback(void);
95 void INTR_SOFINTR_Callback(void);
96 void INTR_RXSTSQLVL_Callback(void);
97 void INTR_NPTXFEMPTY_Callback(void);
98 void INTR_GINNAKEFF_Callback(void);
99 void INTR_GOUTNAKEFF_Callback(void);
100 void INTR_ERLYSUSPEND_Callback(void);
101 void INTR_USBSUSPEND_Callback(void);
102 void INTR_USBRESET_Callback(void);
103 void INTR_ENUMDONE_Callback(void);
104 void INTR_ISOOUTDROP_Callback(void);
105 void INTR_EOPFRAME_Callback(void);
106 void INTR_EPMISMATCH_Callback(void);
107 void INTR_INEPINTR_Callback(void);
108 void INTR_OUTEPINTR_Callback(void);
109 void INTR_INCOMPLISOIN_Callback(void);
110 void INTR_INCOMPLISOOUT_Callback(void);
111 void INTR_WKUPINTR_Callback(void);
112 
113 /* Isochronous data update */
114 void INTR_RXSTSQLVL_ISODU_Callback(void);
115 
116 #endif /* STM32F10X_CL */
117 
118 #endif /*__USB_ISTR_H*/
119 
120 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/
void EP3_IN_Callback(void)
void EP2_OUT_Callback(void)
void EP2_IN_Callback(void)
void EP7_OUT_Callback(void)
void EP5_OUT_Callback(void)
void EP1_IN_Callback(void)
void EP4_OUT_Callback(void)
void EP6_IN_Callback(void)
void USB_Istr(void)
void EP5_IN_Callback(void)
void EP1_OUT_Callback(void)
void EP4_IN_Callback(void)
void EP3_OUT_Callback(void)
void EP7_IN_Callback(void)
void EP6_OUT_Callback(void)