CAT2 Peripheral Driver Library

Enumerations

enum  cy_en_usbpd_bch_phy_evt_t {
  CY_USBPD_BC_PHY_EVT_COMP1_TRIG = 0,
  CY_USBPD_BC_PHY_EVT_COMP2_TRIG
}
 List of charger detect block events sent by the HAL to the state machine. More...
 
enum  cy_en_usbpd_bch_src_term_t {
  CHGB_SRC_TERM_APPLE_1A = 0,
  CHGB_SRC_TERM_APPLE_2_1A,
  CHGB_SRC_TERM_APPLE_2_4A,
  CHGB_SRC_TERM_APPLE_3A,
  CHGB_SRC_TERM_QC,
  CHGB_SRC_TERM_AFC,
  CHGB_SRC_TERM_DCP,
  CHGB_SRC_TERM_CDP,
  CHGB_SRC_TERM_SDP
}
 Charger block source (DP/DM) termination options. More...
 
enum  cy_en_usbpd_bch_snk_term_t {
  CHGB_SINK_TERM_SPD = 0,
  CHGB_SINK_TERM_PCD,
  CHGB_SINK_TERM_SCD,
  CHGB_SINK_TERM_AFC,
  CHGB_SINK_TERM_APPLE,
  CHGB_SINK_TERM_QC_5V,
  CHGB_SINK_TERM_QC_9V,
  CHGB_SINK_TERM_QC_12V,
  CHGB_SINK_TERM_QC_20V
}
 Charger block sink termination options. More...
 
enum  cy_en_usbpd_bch_comp_pinput_t {
  CHGB_COMP_P_DM = 0,
  CHGB_COMP_P_VREF,
  CHGB_COMP_P_DP,
  CHGB_COMP_P_GND
}
 Signals that can be connected to the positive input of the charger detect block comparators. More...
 
enum  cy_en_usbpd_bch_comp_ninput_t {
  CHGB_COMP_N_DM = 0,
  CHGB_COMP_N_VREF,
  CHGB_COMP_N_DP,
  CHGB_COMP_N_GND
}
 Signals that can be connected to the negative input of the charger detect block comparators. More...
 
enum  cy_en_usbpd_bch_vref_t { CHGB_VREF_INVALID = 0 }
 List of reference voltage levels available from the charger detect block. More...
 
enum  cy_en_usbpd_bch_comp_edge_t {
  CHGB_COMP_NO_INTR = 0,
  CHGB_COMP_EDGE_FALLING,
  CHGB_COMP_EDGE_RISING,
  CHGB_COMP_EDGE_BOTH
}
 Interrupt generation options for the charger detect block comparators. More...
 
enum  cy_en_usbpd_vbat_gnd_scp_level_t {
  PD_VBAT_GND_SCP_6A = 0,
  PD_VBAT_GND_SCP_10A
}
 VBAT_GND Short circuit detection levels. More...
 
enum  cy_en_usbpd_sbu_adft_input_t { CY_USBPD_SBU_ADFT_INVALID = 0 }
 List of ADFT inputs from SBU. More...
 

Detailed Description

Enumeration Type Documentation

◆ cy_en_usbpd_bch_phy_evt_t

List of charger detect block events sent by the HAL to the state machine.

Enumerator
CY_USBPD_BC_PHY_EVT_COMP1_TRIG 

Comp1 triggered.

CY_USBPD_BC_PHY_EVT_COMP2_TRIG 

Comp2 triggered.

◆ cy_en_usbpd_bch_src_term_t

Charger block source (DP/DM) termination options.

Enumerator
CHGB_SRC_TERM_APPLE_1A 

Apple 1A termination.

CHGB_SRC_TERM_APPLE_2_1A 

Apple 2.1A termination.

CHGB_SRC_TERM_APPLE_2_4A 

Apple 2.4A termination.

CHGB_SRC_TERM_APPLE_3A 

Apple 3.0A termination.

CHGB_SRC_TERM_QC 

Quick Charge termination.

CHGB_SRC_TERM_AFC 

AFC termination.

CHGB_SRC_TERM_DCP 

DCP termination.

CHGB_SRC_TERM_CDP 

CDP termination.

CHGB_SRC_TERM_SDP 

SDP termination.

◆ cy_en_usbpd_bch_snk_term_t

Charger block sink termination options.

Enumerator
CHGB_SINK_TERM_SPD 

Standard port detect.

CHGB_SINK_TERM_PCD 

Primary charger detect.

CHGB_SINK_TERM_SCD 

Secondary charger detect.

CHGB_SINK_TERM_AFC 

AFC detect.

CHGB_SINK_TERM_APPLE 

Apple detect.

CHGB_SINK_TERM_QC_5V 

QC 5V detect.

CHGB_SINK_TERM_QC_9V 

QC 9V detect.

CHGB_SINK_TERM_QC_12V 

QC 12V detect.

CHGB_SINK_TERM_QC_20V 

QC 20V detect.

◆ cy_en_usbpd_bch_comp_pinput_t

Signals that can be connected to the positive input of the charger detect block comparators.

Enumerator
CHGB_COMP_P_DM 

DM input.

CHGB_COMP_P_VREF 

VREF input.

Reference voltage level selected separately.

CHGB_COMP_P_DP 

DP input.

CHGB_COMP_P_GND 

GND input.

◆ cy_en_usbpd_bch_comp_ninput_t

Signals that can be connected to the negative input of the charger detect block comparators.

Enumerator
CHGB_COMP_N_DM 

DM input.

CHGB_COMP_N_VREF 

VREF input.

Reference voltage level selected separately.

CHGB_COMP_N_DP 

DP input.

CHGB_COMP_N_GND 

GND input.

◆ cy_en_usbpd_bch_vref_t

List of reference voltage levels available from the charger detect block.

Enumerator
CHGB_VREF_INVALID 

Not supported.

◆ cy_en_usbpd_bch_comp_edge_t

Interrupt generation options for the charger detect block comparators.

Enumerator
CHGB_COMP_NO_INTR 

Interrupt disabled.

CHGB_COMP_EDGE_FALLING 

Interrupt on falling edge.

CHGB_COMP_EDGE_RISING 

Interrupt on rising edge.

CHGB_COMP_EDGE_BOTH 

Interrupt on either edge.

◆ cy_en_usbpd_vbat_gnd_scp_level_t

VBAT_GND Short circuit detection levels.

Enumerator
PD_VBAT_GND_SCP_6A 

6A is current limit

PD_VBAT_GND_SCP_10A 

10A is current limit

◆ cy_en_usbpd_sbu_adft_input_t

List of ADFT inputs from SBU.

Enumerator
CY_USBPD_SBU_ADFT_INVALID 

Not supported.