Add define for USB_PD_TIMEOUT, the default value for PDNegTimeout

This commit is contained in:
jonasius
2024-06-06 23:09:43 +02:00
parent 6ef1fbd46a
commit da28492f00
3 changed files with 3 additions and 0 deletions

View File

@@ -127,6 +127,7 @@
#define ADC_VDD_MV 3300 // ADC max reading millivolts
#define POW_PD_EXT 0
#define USB_PD_TIMEOUT 20 // Default Timeout for USB-PD Protocol negotiation in x100ms
// Deriving the Voltage div:
// Vin_max = (3.3*(r1+r2))/(r2)

View File

@@ -148,6 +148,7 @@
#define POW_PD 1
#define USB_PD_EPR_WATTAGE 0 /*No EPR (Yet?) */
#define POW_PD_EXT 0
#define USB_PD_TIMEOUT 20 // Default Timeout for USB-PD Protocol negotiation in x100ms
#define POW_QC 1
#define POW_DC 1
#define POW_QC_20V 1

View File

@@ -148,6 +148,7 @@
#define POW_PD 1 // Supported features
#define USB_PD_EPR_WATTAGE 140 // USB PD EPR Wattage
#define POW_PD_EXT 0 // Future-proof macro for other models with other PD modes
#define USB_PD_TIMEOUT 20 // Default Timeout for USB-PD Protocol negotiation in x100ms
#define POW_QC 1 // Supported features
#define POW_DC 1 // Supported features
#define POW_QC_20V 1 // Supported features