4.1.2 SET_CONTROL_LINE_STATE Command
The SET_CONTROL_LINE_STATE command:
- Enables or disables the UART peripheral
- Asserts or deasserts the RTS line
Send this request through Endpoint 0x00, with the parameters described in the following table, to enable or disable the UART or to assert or deassert the RTS line.
| Byte Index | Command | Description | |
|---|---|---|---|
| 0 | 0x21 | bmRequestType | Host to device, class-specific, Interface 0 |
| 1 | 0x22 | bRequest | Set flow-control line state |
| 2 |
|
Close UART De-assert RTS line Reserved Assert RTS line |
|
| 3 | 0x00 | wValue – higher byte | |
| 4 | 0x00 | wIndex – lower byte | Interface 0 |
| 5 | 0x00 | wIndex – higher byte | |
| 6 | 0x00 | wLength – lower byte | Payload length in bytes |
| 7 | 0x00 | wLength – higher byte | |
