[Cube OTG USB] [Minor issue]incorrectly @param description on HAL_StatusTypeDef USB_FlushTxFifo(USB_OTG_GlobalTypeDef *USBx, uint32_t num)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 11:20 AM
The original param description:
* @param num FIFO number
* This parameter can be a value from 1 to 15
15 means Flush all Tx FIFOs
According to stm32h7 reference manual, it should be:
* @param num FIFO number
* This parameter can be a value from 1 to 15
16 means Flush all Tx FIFOs
:beaming_face_with_smiling_eyes:
- Labels:
-
STM32CubeMX
-
STM32H7 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-02 9:09 AM
Hello @oneshot.triplekill@qq.com​ ,
Thanks for your feedback,
This is not a CubeMX issue, the stm32h7xx_ll_usb.c file is copied and not generated by MX. I see your point, there is indeed a mismatch between the Reference manual and the usb driver file.
I am adding @Amel NASRI​ to the loop to further check this issue.
Sara.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-02 1:02 PM
ahaha, thanks .:beaming_face_with_smiling_eyes:
