usb: Fix some Doxygen comments.
This commit is contained in:
parent
3e9b9cb345
commit
373794ab68
@ -33,6 +33,7 @@ u8 usbd_control_buffer[128] __attribute__((weak));
|
||||
*
|
||||
* It is required that the 48MHz USB clock is already available.
|
||||
*
|
||||
* @param driver TODO
|
||||
* @param dev Pointer to USB device descriptor. This must not be changed while
|
||||
* the device is in use.
|
||||
* @param conf Pointer to array of USB configuration descriptors. These must
|
||||
|
@ -74,7 +74,7 @@ static void stm32f103_set_address(u8 addr)
|
||||
* Set the receive buffer size for a given USB endpoint.
|
||||
*
|
||||
* @param ep Index of endpoint to configure.
|
||||
* @param addr Size in bytes of the RX buffer.
|
||||
* @param size Size in bytes of the RX buffer.
|
||||
*/
|
||||
static void usb_set_ep_rx_bufsize(u8 ep, u32 size)
|
||||
{
|
||||
@ -200,7 +200,7 @@ static void stm32f103_ep_nak_set(u8 addr, u8 nak)
|
||||
/**
|
||||
* Copy a data buffer to packet memory.
|
||||
*
|
||||
* @param PM Destination pointer into packet memory.
|
||||
* @param vPM Destination pointer into packet memory.
|
||||
* @param buf Source pointer to data buffer.
|
||||
* @param len Number of bytes to copy.
|
||||
*/
|
||||
@ -228,10 +228,10 @@ static u16 stm32f103_ep_write_packet(u8 addr, const void *buf, u16 len)
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy a data buffer from Packet Memory.
|
||||
* Copy a data buffer from packet memory.
|
||||
*
|
||||
* @param buf Source pointer to data buffer.
|
||||
* @param PM Destination pointer into packet memory.
|
||||
* @param vPM Destination pointer into packet memory.
|
||||
* @param len Number of bytes to copy.
|
||||
*/
|
||||
static void usb_copy_from_pm(void *buf, const volatile void *vPM, u16 len)
|
||||
|
Loading…
x
Reference in New Issue
Block a user