Skip to main content
nguen nguyen
Associate III
January 2, 2019
Solved

how to enable host USB interrupt stm32f4 thanks

  • January 2, 2019
  • 3 replies
  • 1055 views

..

This topic has been closed for replies.
Best answer by Tesla DeLorean

  /* Set USBFS Interrupt to the lowest priority */

  HAL_NVIC_SetPriority(OTG_FS_IRQn, 5, 0);

  /* Enable USBFS Interrupt */

  HAL_NVIC_EnableIRQ(OTG_FS_IRQn);

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
January 2, 2019

  /* 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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
nguen nguyen
Associate III
January 3, 2019

Thank you so much

nguen nguyen
Associate III
January 3, 2019

Thank you so much