Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
USB Type-C Cable and Connector API used for USB-C drivers. More...
#include <zephyr/types.h>
Go to the source code of this file.
Macros | |
#define | TC_V_SINK_DISCONNECT_MIN_MV 800 |
VBUS minimum for a sink disconnect detection. | |
#define | TC_V_SINK_DISCONNECT_MAX_MV 3670 |
VBUS maximum for a sink disconnect detection. | |
#define | TC_T_VBUS_ON_MAX_MS 275 |
From entry to Attached.SRC until VBUS reaches the minimum vSafe5V threshold as measured at the source’s receptacle See Table 4-29 VBUS and VCONN Timing Parameters. | |
#define | TC_T_VBUS_OFF_MAX_MS 650 |
From the time the Sink is detached until the Source removes VBUS and reaches vSafe0V (See USB PD). | |
#define | TC_T_VCONN_ON_MAX_MS 2 |
From the time the Source supplied VBUS in the Attached.SRC state. | |
#define | TC_T_VCONN_ON_PA_MAX_MS 100 |
From the time a Sink with accessory support enters the PoweredAccessory state until the Sink sources minimum VCONN voltage (see Table 4-5) See Table 4-29 VBUS and VCONN Timing Parameters. | |
#define | TC_T_VCONN_OFF_MAX_MS 35 |
From the time that a Sink is detached or as directed until the VCONN supply is disconnected. | |
#define | TC_T_SINK_ADJ_MAX_MS 60 |
Response time for a Sink to adjust its current consumption to be in the specified range due to a change in USB Type-C Current advertisement See Table 4-29 VBUS and VCONN Timing Parameters. | |
#define | TC_T_DRP_MIN_MS 50 |
The minimum period a DRP shall complete a Source to Sink and back advertisement See Table 4-30 DRP Timing Parameters. | |
#define | TC_T_DRP_MAX_MS 100 |
The maximum period a DRP shall complete a Source to Sink and back advertisement See Table 4-30 DRP Timing Parameters. | |
#define | TC_T_DRP_TRANSITION_MIN_MS 0 |
The minimum time a DRP shall complete transitions between Source and Sink roles during role resolution See Table 4-30 DRP Timing Parameters. | |
#define | TC_T_DRP_TRANSITION_MAX_MS 1 |
The maximum time a DRP shall complete transitions between Source and Sink roles during role resolution See Table 4-30 DRP Timing Parameters. | |
#define | TC_T_DRP_TRY_MIN_MS 75 |
Minimum wait time associated with the Try.SRC state. | |
#define | TC_T_DRP_TRY_MAX_MS 150 |
Maximum wait time associated with the Try.SRC state. | |
#define | TC_T_DRP_TRY_WAIT_MIN_MS 400 |
Minimum wait time associated with the Try.SNK state. | |
#define | TC_T_DRP_TRY_WAIT_MAX_MS 800 |
Maximum wait time associated with the Try.SNK state. | |
#define | TC_T_TRY_TIMEOUT_MIN_MS 550 |
Minimum timeout for transition from Try.SRC to TryWait.SNK. | |
#define | TC_T_TRY_TIMEOUT_MAX_MS 1100 |
Maximum timeout for transition from Try.SRC to TryWait.SNK. | |
#define | TC_T_VPD_DETACH_MIN_MS 10 |
Minimum Time for a DRP to detect that the connected Charge-Through VCONNPowered USB Device has been detached, after VBUS has been removed. | |
#define | TC_T_VPD_DETACH_MAX_MS 20 |
Maximum Time for a DRP to detect that the connected Charge-Through VCONNPowered USB Device has been detached, after VBUS has been removed. | |
#define | TC_T_CC_DEBOUNCE_MIN_MS 100 |
Minimum time a port shall wait before it can determine it is attached See Table 4-31 CC Timing. | |
#define | TC_T_CC_DEBOUNCE_MAX_MS 200 |
Maximum time a port shall wait before it can determine it is attached See Table 4-31 CC Timing. | |
#define | TC_T_PD_DEBOUNCE_MIN_MS 10 |
Minimum time a Sink port shall wait before it can determine it is detached due to the potential for USB PD signaling on CC as described in the state definitions. | |
#define | TC_T_PD_DEBOUNCE_MAX_MS 20 |
Maximum time a Sink port shall wait before it can determine it is detached due to the potential for USB PD signaling on CC as described in the state definitions. | |
#define | TC_T_TRY_CC_DEBOUNCE_MIN_MS 10 |
Minimum Time a port shall wait before it can determine it is re-attached during the try-wait process. | |
#define | TC_T_TRY_CC_DEBOUNCE_MAX_MS 10 |
Maximum Time a port shall wait before it can determine it is re-attached during the try-wait process. | |
#define | TC_T_ERROR_RECOVERY_SELF_POWERED_MIN_MS 25 |
Minimum time a self-powered port shall remain in the ErrorRecovery state. | |
#define | TC_T_ERROR_RECOVERY_SOURCE_MIN_MS 240 |
Minimum time a source shall remain in the ErrorRecovery state if it was sourcing VCONN in the previous state. | |
#define | TC_T_RP_VALUE_CHANGE_MIN_MS 10 |
Minimum time a Sink port shall wait before it can determine there has been a change in Rp where CC is not BMC Idle or the port is unable to detect BMC Idle. | |
#define | TC_T_RP_VALUE_CHANGE_MAX_MS 20 |
Maximum time a Sink port shall wait before it can determine there has been a change in Rp where CC is not BMC Idle or the port is unable to detect BMC Idle. | |
#define | TC_T_SRC_DISCONNECT_MIN_MS 0 |
Minimum time a Source shall detect the SRC.Open state. | |
#define | TC_T_SRC_DISCONNECT_MAX_MS 20 |
Maximum time a Source shall detect the SRC.Open state. | |
#define | TC_T_NO_TOGGLE_CONNECT_MIN_MS 0 |
Minimum time to detect connection when neither Port Partner is toggling. | |
#define | TC_T_NO_TOGGLE_CONNECT_MAX_MS 5 |
Maximum time to detect connection when neither Port Partner is toggling. | |
#define | TC_T_ONE_PORT_TOGGLE_CONNECT_MIN_MS 0 |
Minimum time to detect connection when one Port Partner is toggling 0ms … dcSRC.DRP max * tDRP max + 2 * tNoToggleConnect). | |
#define | TC_T_ONE_PORT_TOGGLE_CONNECT_MAX_MS 80 |
Maximum time to detect connection when one Port Partner is toggling 0ms … dcSRC.DRP max * tDRP max + 2 * tNoToggleConnect). | |
#define | TC_T_TWO_PORT_TOGGLE_CONNECT_MIN_MS 0 |
Minimum time to detect connection when both Port Partners are toggling (0ms … 5 * tDRP max + 2 * tNoToggleConnect). | |
#define | TC_T_TWO_PORT_TOGGLE_CONNECT_MAX_MS 510 |
Maximum time to detect connection when both Port Partners are toggling (0ms … 5 * tDRP max + 2 * tNoToggleConnect). | |
#define | TC_T_VPDCTDD_MIN_US 30 |
Minimum time for a Charge-Through VCONN-Powered USB Device to detect that the Charge-Through source has disconnected from CC after VBUS has been removed, transition to CTUnattached.VPD, and re-apply its Rp termination advertising 3.0 A on the host port CC. | |
#define | TC_T_VPDCTDD_MAX_MS 5 |
Maximum time for a Charge-Through VCONN-Powered USB Device to detect that the Charge-Through source has disconnected from CC after VBUS has been removed, transition to CTUnattached.VPD, and re-apply its Rp termination advertising 3.0 A on the host port CC. | |
#define | TC_T_VPDDISABLE_MIN_MS 25 |
Minimum time for a Charge-Through VCONN-Powered USB Device shall remain in CTDisabled.VPD state. | |
USB Type-C Cable and Connector API used for USB-C drivers.
The information in this file was taken from the USB Type-C Cable and Connector Specification Release 2.1