en:pfw:usb_cdc_driver_for_rp2040
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:pfw:usb_cdc_driver_for_rp2040 [2025-12-02 14:34] – [What we need to do in short] willem | en:pfw:usb_cdc_driver_for_rp2040 [2025-12-02 14:50] (current) – [Pseudo code] willem | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| * If the host is satisfied with the setup, then sending and receiving data packets may start. | * If the host is satisfied with the setup, then sending and receiving data packets may start. | ||
| - | + | ||
| - | + | ||
| - | + | ||
| ===== Pseudo code ===== | ===== Pseudo code ===== | ||
| < | < | ||
| - | DEFINE | + | hex |
| + | Function | ||
| 12 c, 01 c, 10 c, 01 c, ( 1.10 ) EF c, 02 c, 01 c, 40 c, 66 c, 66 c, ( 6666 ) | 12 c, 01 c, 10 c, 01 c, ( 1.10 ) EF c, 02 c, 01 c, 40 c, 66 c, 66 c, ( 6666 ) | ||
| 10 c, 66 c, ( 6610 ) 00 c, 01 c, ( vsn 1.00 ) 00 c, 02 c, 00 c, 01 c, align | 10 c, 66 c, ( 6610 ) 00 c, 01 c, ( vsn 1.00 ) 00 c, 02 c, 00 c, 01 c, align | ||
| - | DEFINE | + | Function |
| 9 c, 2 c, 4B c, 0 c, 2 c, 1 c, 0 c, 80 c, FA c, \ Maximum power = 500mA | 9 c, 2 c, 4B c, 0 c, 2 c, 1 c, 0 c, 80 c, FA c, \ Maximum power = 500mA | ||
| 8 c, 0B c, 0 c, 2 c, 2 c, 2 c, 1 c, 0 c, \ Interface Association Descriptor - CDC 0 | 8 c, 0B c, 0 c, 2 c, 2 c, 2 c, 1 c, 0 c, \ Interface Association Descriptor - CDC 0 | ||
| Line 35: | Line 34: | ||
| 7 c, 5 c, 3 c, 2 c, 40 c, 0 c, 0 c, align \ Endpoint 3 OUT descriptor | 7 c, 5 c, 3 c, 2 c, 40 c, 0 c, 0 c, align \ Endpoint 3 OUT descriptor | ||
| + | decimal | ||
| + | Function | ||
| + | \ In second half word are memory for the 900/880 requests | ||
| + | 4 c, 3 c, 9 c, 4 c, \ English/US = language ID | ||
| + | 115200 , 0 c, 0 c, 8 c, align \ Line data: 115k2, Stop bits, Parity, Data bits | ||
| + | |||
| + | hex | ||
| </ | </ | ||
| + | |||
| + | |||
en/pfw/usb_cdc_driver_for_rp2040.1764682483.txt.gz · Last modified: 2025-12-02 14:34 by willem