Data Structures | |
| struct | PPORT_CONFIG |
| struct | _PORT_CONFIG |
| CP2103/4 Port Config Structure. Alias of this struct is PORT_CONFIG. More... | |
Macros | |
| #define | PORT_RI_ON 0x0001 |
| Define bit locations for PORT_CONFIG.Mode PORT_CONFIG.Reset_Latch and PORT_CONFIG.Suspend_Latch. More... | |
| #define | PORT_DCD_ON 0x0002 |
| tbd More... | |
| #define | PORT_DTR_ON 0x0004 |
| tbd More... | |
| #define | PORT_DSR_ON 0x0008 |
| tbd More... | |
| #define | PORT_TXD_ON 0x0010 |
| tbd More... | |
| #define | PORT_RXD_ON 0x0020 |
| tbd More... | |
| #define | PORT_RTS_ON 0x0040 |
| tbd More... | |
| #define | PORT_CTS_ON 0x0080 |
| tbd More... | |
| #define | PORT_GPIO_0_ON 0x0100 |
| tbd More... | |
| #define | PORT_GPIO_1_ON 0x0200 |
| tbd More... | |
| #define | PORT_GPIO_2_ON 0x0400 |
| tbd More... | |
| #define | PORT_GPIO_3_ON 0x0800 |
| tbd More... | |
| #define | PORT_SUSPEND_ON 0x4000 |
| tbd More... | |
| #define | PORT_SUSPEND_BAR_ON 0x8000 |
| tbd More... | |
| #define | EF_GPIO_0_TXLED 0x01 |
| Define bit locations for PORT_CONFIG.EnhancedFxn. More... | |
| #define | EF_GPIO_1_RXLED 0x02 |
| Under device control. More... | |
| #define | EF_GPIO_2_RS485 0x04 |
| Under device control. More... | |
| #define | EF_RS485_INVERT 0x08 |
| RS485 Invert bit. More... | |
| #define | EF_RS485_INVERT 0x08 |
| RS485 Invert bit. More... | |
| #define | EF_RESERVED_1 0x20 |
| Reserved, leave bit 5 cleared. More... | |
| #define | EF_SERIAL_DYNAMIC_SUSPEND 0x40 |
| For 8 UART/Modem signals. More... | |
| #define | EF_GPIO_DYNAMIC_SUSPEND 0x80 |
| For 4 GPIO signals. More... | |
Port Config definitions see CP210x_GetPortConfig() and CP210x_SetPortConfig()
| struct PORT_CONFIG |
| struct _PORT_CONFIG |
CP2103/4 Port Config Structure. Alias of this struct is PORT_CONFIG.
| #define EF_GPIO_0_TXLED 0x01 |
Define bit locations for PORT_CONFIG.EnhancedFxn.
Under device control
| #define EF_GPIO_1_RXLED 0x02 |
Under device control.
| #define EF_GPIO_2_RS485 0x04 |
Under device control.
| #define EF_GPIO_DYNAMIC_SUSPEND 0x80 |
For 4 GPIO signals.
| #define EF_RESERVED_1 0x20 |
Reserved, leave bit 5 cleared.
| #define EF_RS485_INVERT 0x08 |
RS485 Invert bit.
Under device control.
| #define EF_RS485_INVERT 0x08 |
RS485 Invert bit.
Under device control.
| #define EF_SERIAL_DYNAMIC_SUSPEND 0x40 |
For 8 UART/Modem signals.
| #define PORT_CTS_ON 0x0080 |
tbd
| #define PORT_DCD_ON 0x0002 |
tbd
| #define PORT_DSR_ON 0x0008 |
tbd
| #define PORT_DTR_ON 0x0004 |
tbd
| #define PORT_GPIO_0_ON 0x0100 |
tbd
| #define PORT_GPIO_1_ON 0x0200 |
tbd
| #define PORT_GPIO_2_ON 0x0400 |
tbd
| #define PORT_GPIO_3_ON 0x0800 |
tbd
| #define PORT_RI_ON 0x0001 |
Define bit locations for PORT_CONFIG.Mode PORT_CONFIG.Reset_Latch and PORT_CONFIG.Suspend_Latch.
tbd
| #define PORT_RTS_ON 0x0040 |
tbd
| #define PORT_RXD_ON 0x0020 |
tbd
| #define PORT_SUSPEND_BAR_ON 0x8000 |
tbd
| #define PORT_SUSPEND_ON 0x4000 |
tbd
| #define PORT_TXD_ON 0x0010 |
tbd