stm32f4xx_it.c
Go to the documentation of this file.
1 
22 #include "stm32f4xx_it.h"
23 #include "stm32f4xx_conf.h"
24 
25 #include "usb_core.h"
26 #include "usbd_core.h"
27 #include "usbd_cdc_core.h"
28 #include "usbd_cdc_vcp.h"
29 
30 extern uint32_t USBD_OTG_ISR_Handler (USB_OTG_CORE_HANDLE *pdev);
31 
32 #ifdef USB_OTG_HS_DEDICATED_EP1_ENABLED
33 extern uint32_t USBD_OTG_EP1IN_ISR_Handler (USB_OTG_CORE_HANDLE *pdev);
34 extern uint32_t USBD_OTG_EP1OUT_ISR_Handler (USB_OTG_CORE_HANDLE *pdev);
35 #endif
36 
37 /******************************************************************************/
38 /* STM32F4xx Peripherals Interrupt Handlers */
39 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
40 /* available peripheral interrupt handler's name please refer to the startup */
41 /* file (startup_stm32f4xx.s). */
42 /******************************************************************************/
43 
44 #ifdef USE_USB_OTG_FS
45 void OTG_FS_WKUP_IRQHandler(void)
46 {
48  {
49  *(uint32_t *)(0xE000ED10) &= 0xFFFFFFF9 ;
50  SystemInit();
51  USB_OTG_UngateClock(&USB_OTG_dev);
52  }
54 }
55 #endif
56 
62 #ifdef USE_USB_OTG_HS
63 void OTG_HS_WKUP_IRQHandler(void)
64 {
66  {
67  *(uint32_t *)(0xE000ED10) &= 0xFFFFFFF9 ;
68  SystemInit();
69  USB_OTG_UngateClock(&USB_OTG_dev);
70  }
72 }
73 #endif
74 
80 #ifdef USE_USB_OTG_HS
81 void OTG_HS_IRQHandler(void)
82 #else
84 #endif
85 {
87 }
88 
89 #ifdef USB_OTG_HS_DEDICATED_EP1_ENABLED
90 
95 void OTG_HS_EP1_IN_IRQHandler(void)
96 {
98 }
99 
105 void OTG_HS_EP1_OUT_IRQHandler(void)
106 {
108 }
109 #endif
#define EXTI_Line18
void SystemInit(void)
Setup the microcontroller system Initialize the Embedded Flash Interface, the PLL and update the Syst...
USB_OTG_CORE_CFGS cfg
Definition: usb_core.h:289
#define EXTI_Line20
header file for the usbd_cdc_core.c file.
void OTG_FS_IRQHandler(void)
This function handles EXTI15_10_IRQ Handler.
Definition: stm32f4xx_it.c:83
Header of the Core Layer.
Header for usbd_cdc_vcp.c file.
void EXTI_ClearITPendingBit(uint32_t EXTI_Line)
Clears the EXTI's line pending bits.
USB_OTG_CORE_HANDLE USB_OTG_dev
Definition: usbd_cdc_vcp.c:34
uint32_t USBD_OTG_EP1IN_ISR_Handler(USB_OTG_CORE_HANDLE *pdev)
uint8_t low_power
Definition: usb_core.h:172
Header file for usbd_core.c.
uint32_t USBD_OTG_ISR_Handler(USB_OTG_CORE_HANDLE *pdev)
STM32_USBF_OTG_ISR_Handler handles all USB Interrupts.
Definition: usb_dcd_int.c:207
uint32_t USBD_OTG_EP1OUT_ISR_Handler(USB_OTG_CORE_HANDLE *pdev)


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:26