cancel
Showing results for 
Search instead for 
Did you mean: 

how to enable host USB interrupt stm32f4 thanks

nguen nguyen
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions

  /* Set USBFS Interrupt to the lowest priority */

  HAL_NVIC_SetPriority(OTG_FS_IRQn, 5, 0);

  /* Enable USBFS Interrupt */

  HAL_NVIC_EnableIRQ(OTG_FS_IRQn);

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

3 REPLIES 3

  /* Set USBFS Interrupt to the lowest priority */

  HAL_NVIC_SetPriority(OTG_FS_IRQn, 5, 0);

  /* Enable USBFS Interrupt */

  HAL_NVIC_EnableIRQ(OTG_FS_IRQn);

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
nguen nguyen
Associate II

Thank you so much

Thank you so much