mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
update doc
This commit is contained in:
parent
981e64d8a1
commit
ac0203b42f
@ -130,6 +130,8 @@ number and direction which usually determines where to write the buffer info. Th
|
||||
written to a specific location in memory and the peripheral is told the data is valid. (Maybe by writing a 1 to a
|
||||
register or setting a counter register to 0 for OUT or length for IN.)
|
||||
|
||||
The transmit buffer alignment is determined by `CFG_TUSB_MEM_ALIGN`.
|
||||
|
||||
One potential pitfall is that the buffer may be longer than the maximum endpoint size of one USB
|
||||
packet. Some peripherals can handle transmitting multiple USB packets for a provided buffer (like the SAMD21).
|
||||
Others (like the nRF52) may need each USB packet queued individually. To make this work you'll need to track
|
||||
|
Loading…
x
Reference in New Issue
Block a user