This enum defines the port_service device.
| Enumerator |
|---|
| SERIAL_PORT_DEV_UART_TYPE_BEGIN |
The first valid UART port in the port service of a device.
|
| SERIAL_PORT_DEV_UART_0 |
UART0 port in the port service of a device.
|
| SERIAL_PORT_DEV_UART_1 |
UART1 port in the port service of a device.
|
| SERIAL_PORT_DEV_UART_2 |
UART2 port in the port service of a device.
|
| SERIAL_PORT_DEV_UART_3 |
UART3 port in the port service of a device.
|
| SERIAL_PORT_DEV_UART_TYPE_END |
The last valid UART port in the port service of a device.
|
| SERIAL_PORT_DEV_USB_TYPE_BEGIN |
The first valid USB port in the port service of a device.
|
| SERIAL_PORT_DEV_USB_COM1 |
USB1 port in the port service of a device.
|
| SERIAL_PORT_DEV_USB_COM2 |
USB2 port in the port service of a device.
|
| SERIAL_PORT_DEV_USB_TYPE_END |
The last valid USB port in the port service of a device.
|
| SERIAL_PORT_DEV_MAX |
The maximum number of ports in the port service of a device.
|
| SERIAL_PORT_DEV_UNDEFINED |
The invalid port number in the port service of a device.
|