1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 00:11:16 +01:00

cpu/esp32: clarify units in USB FIFO size definitions

Since the USB OTG FIFO sizes are partly defined in 32-bit words and partly in bytes, the documentation of the of the USB OTG FIFO size definitions is extended by the respective unit.
This commit is contained in:
Gunar Schorcht 2023-02-24 10:56:42 +01:00
parent 9e8ef51283
commit 0c9eb535eb
2 changed files with 4 additions and 4 deletions

View File

@ -243,14 +243,14 @@ extern "C" {
#define DWC2_USB_OTG_FS_NUM_EP (5)
/**
* @brief Size of the FIFO shared by all USB OTG FS OUT endpoints
* @brief Size of the FIFO shared by all USB OTG FS OUT endpoints in 32-bit words
*/
#ifndef DWC2_USB_OTG_FS_RX_FIFO_SIZE
#define DWC2_USB_OTG_FS_RX_FIFO_SIZE (128U)
#endif
/**
* @brief Total size of the FIFO
* @brief Total size of the FIFO in bytes
*/
#define DWC2_USB_OTG_FS_TOTAL_FIFO_SIZE (1024U)

View File

@ -244,14 +244,14 @@ extern "C" {
#define DWC2_USB_OTG_FS_NUM_EP (5)
/**
* @brief Size of the FIFO shared by all USB OTG FS OUT endpoints
* @brief Size of the FIFO shared by all USB OTG FS OUT endpoints in 32-bit words
*/
#ifndef DWC2_USB_OTG_FS_RX_FIFO_SIZE
#define DWC2_USB_OTG_FS_RX_FIFO_SIZE (128U)
#endif
/**
* @brief Total size of the FIFO
* @brief Total size of the FIFO in bytes
*/
#define DWC2_USB_OTG_FS_TOTAL_FIFO_SIZE (1024U)