CAT2 Peripheral Driver Library
cy_stc_legacy_charging_cfg_t Struct Reference

Description

Struct to hold the port legacy charging parameters.

Data Fields

uint8_t enable
 Whether to enable/disable legacy charging Feature 1 - Enable 0 - Disable.
 
uint8_t srcSel
 Legacy charging source selection bit mask: Bit 0 –> BC 1.2 support Bit 1 –> Apple charger Bit 2 –> Quick charge Bit 3 –> AFC charger Other bits reserved.
 
uint8_t snkSel
 Legacy charging sink selection bit mask: Bit 0 –> BC 1.2 Bit 1 –> Apple brick Other bits reserved.
 
uint8_t appleSrcId
 Apple charger brick ID to be used as source: Bit 0 –> 1 A Bit 1 –> 2.1 A Bit 2 –> 2.4 A.
 
uint8_t qcSrcType
 Quick charge source type: Bit 0 –> QC 2.0 Class-A Bit 1 –> QC 2.0 Class-B Bit 2 –> QC 3.0 Class-A Bit 3 –> QC 3.0 Class-B.
 
uint8_t afcSrcCapCnt
 Number of AFC source voltage-current capabilities supported. More...
 
uint8_t afcSrcCaps [16]
 AFC source voltage-current capabilities list. More...
 

Field Documentation

◆ afcSrcCapCnt

uint8_t cy_stc_legacy_charging_cfg_t::afcSrcCapCnt

Number of AFC source voltage-current capabilities supported.

◆ afcSrcCaps

uint8_t cy_stc_legacy_charging_cfg_t::afcSrcCaps[16]

AFC source voltage-current capabilities list.