embassy/embassy-usb/src
Adam Simpkins 03a87add15 USB: fix comments about the config.max_packet_size_0 field
Fix the comment about the default value: this defaults to 64 rather
than 8 bytes.

It seems like the max packet size for endpoint 0 should normally be
selected automatically, rather than being part of the config.  At best
it seems like this setting should just be a hint that gets used if when
the bus is operating at full speed.  The contents of the device
descriptor should ideally be updated with the correct max packet size
after bus enumeration completes.  In practice always using 64 is
probably fine if low speed environments never need to be supported.
(Super speed requires a max packet size of 512 bytes, which I didn't
list in the comments here.)
2024-04-09 10:31:19 -07:00
..
class Add buffer size info to read_packet 2024-01-08 00:03:44 +01:00
builder.rs USB: fix comments about the config.max_packet_size_0 field 2024-04-09 10:31:19 -07:00
control.rs Apply Pedantic Clippy Lints 2023-10-15 23:52:44 +02:00
descriptor_reader.rs Apply Pedantic Clippy Lints 2023-10-15 23:52:44 +02:00
descriptor.rs usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead 2024-03-23 00:35:15 +00:00
fmt.rs fmt: disable "unused" warnings. 2024-03-20 14:53:19 +01:00
lib.rs usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead 2024-03-23 00:35:15 +00:00
msos.rs use private_bounds for sealed traits. 2024-03-23 01:45:19 +01:00
types.rs Apply Pedantic Clippy Lints 2023-10-15 23:52:44 +02:00