CAT2 Peripheral Driver Library
cy_stc_auto_cfg_settings_t Struct Reference

Description

Struct to hold the automotive charger settings.

Data Fields

uint8_t reserved
 Reserved for ROM issue. More...
 
bool policy_manager_enable
 Source policy manager. More...
 
uint8_t sys_power
 VBUS total system power in Watts. More...
 
uint8_t port_power
 VBUS per port maximum power in Watts.
 
uint8_t configurable_power_OC2
 Maximum Port's Budget OC2 Level either in % or Value.
 
uint8_t configurable_power_OC3
 Maximum Port's Budget OC3 Level either in % or Value.
 
bool pps_enable
 PPS Enable/Disable 0 -> Disable 1 ->Enable.
 
bool unconstrained_power_enable
 Unconstrained Power Enable/Disable 0 -> Disable 1 ->Enable.
 
uint8_t vin_throttling_ctrl
 Battery voltage throttling control.
 
uint8_t vin_oc1
 Minimum input voltage in 100mV units required for the system to supply OC1 (100%) power rating.
 
uint8_t vin_oc2
 Minimum input voltage in 100mV units required for the system to supply OC2 (50%) power rating. More...
 
uint8_t vin_oc3
 Minimum input voltage in 100mV units required for the system to supply OC3 (15W) power rating. More...
 
sensor_data_t sensor_data [4]
 Temperature throttling information for sensors.
 
uint8_t vin_fault_max_safe_voltage
 VIN maximum safe voltage.
 
uint8_t pdo_all_voltage_rail
 Enable/Disable all PDO voltage rail availability in SRC_CAP, instead of spec recommended PDO source voltages for the given port power (PDP). More...
 
uint16_t max_current
 Maximum current that can be sourced in steps of 10 mA units. More...
 
bool fractional_system_power
 Gets set if valid fractional total system power is selected. More...
 
uint8_t reserved_1 [3]
 Reserved bytes.
 

Field Documentation

◆ reserved

uint8_t cy_stc_auto_cfg_settings_t::reserved

Reserved for ROM issue.

◆ policy_manager_enable

bool cy_stc_auto_cfg_settings_t::policy_manager_enable

Source policy manager.

Source policy manager Enable/Disable 0 -> Disable 1 ->Enable

◆ sys_power

uint8_t cy_stc_auto_cfg_settings_t::sys_power

VBUS total system power in Watts.

Fractional input in 0.5 Watts increment is acceptable provided the difference between this value and port maximum power is in the range of 7.5 Watts - 9.5 Watts.

◆ vin_oc2

uint8_t cy_stc_auto_cfg_settings_t::vin_oc2

Minimum input voltage in 100mV units required for the system to supply OC2 (50%) power rating.

To skip this power level, load with the 0xFF. To terminate at this level, load with 0.

◆ vin_oc3

uint8_t cy_stc_auto_cfg_settings_t::vin_oc3

Minimum input voltage in 100mV units required for the system to supply OC3 (15W) power rating.

To skip this power level, load with the 0xFF. To terminate at this level, load with 0. Beyond this threshold, the port shall be shutoff.

◆ pdo_all_voltage_rail

uint8_t cy_stc_auto_cfg_settings_t::pdo_all_voltage_rail

Enable/Disable all PDO voltage rail availability in SRC_CAP, instead of spec recommended PDO source voltages for the given port power (PDP).

PDO list customization option.

◆ max_current

uint16_t cy_stc_auto_cfg_settings_t::max_current

Maximum current that can be sourced in steps of 10 mA units.

All PDOs generated through Automotive policy/features are capped with this maximum current limit. PDO list customization option.

◆ fractional_system_power

bool cy_stc_auto_cfg_settings_t::fractional_system_power

Gets set if valid fractional total system power is selected.

0->Selected Total System Power is an integer 1->Selected Total System Power is a fraction. Actual selected system power is 0.5 Watts more than the integer value present in ""sys_pwr"" field. This field is not visible in EZ-PD Config utility GUI and is updated internally by the tool as required.