These values describe the initial serial line settings and descriptor choices. They do not change USB bus speed or set up a physical UART. The PC may request new line settings when it opens the port. If you are making a USB-to-UART bridge, your firmware must apply them to the real UART.
|
Setting |
Meaning and generic default |
|
USB_CDC_BAUD |
Initial baud setting, 1–4294967295; default 115200. Choose a common rate or type one. |
|
USB_CDC_STOP |
0 one stop bit, 1 one-and-a-half, 2 two; default 0. |
|
USB_CDC_PARITY |
0 none, 1 odd, 2 even, 3 mark, 4 space; default 0. |
|
USB_CDC_BITS |
5, 6, 7, 8 or 16 data bits; default 8. |
|
USB_CDC_PROTOCOL |
Advertised communication protocol byte, 0–255; default 0, no class-specific protocol. 1 advertises V.250 AT commands, but does not implement an AT-command interpreter. |
|
USB_CDC_NOTIFY_MS |
Notification endpoint interval, 1–255 milliseconds; default 16. Separate from bulk data delivery. |
|
USB_CDC_REQUIRE_DTR |
Require host DTR before data API transfers; default off. Enable when your application expects the PC to assert DTR. |
Created with the Personal Edition of HelpNDoc: Make Documentation Review a Breeze with HelpNDoc's Advanced Project Analyzer