stm32f4xx_hal_driver icon indicating copy to clipboard operation
stm32f4xx_hal_driver copied to clipboard

[LL][USB] Update USB_ClearInterrupts() to not clear all interrupts

Open stepheny opened this issue 2 years ago • 1 comments

According to RM0090 p1279, RM0368 p708, or RM0383 p707, application write 1 into rc_w1 type bit to clear the interrupt status bits of OTG_FS_GINTSTS register. Inc/stm32f32f4xx_hal_pcd.h:200 macro __HAL_PCD_CLEAR_FLAG also differs with previous implementation. This may also affect F1(105/7 line), F2, F4, F7, H7, L4(4x5/6 line) series' hal drivers.

stepheny avatar Oct 02 '22 14:10 stepheny

ST Internal Reference: 137180

RJMSTM avatar Oct 20 '22 15:10 RJMSTM