mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Add define for USB_PD_TIMEOUT, the default value for PDNegTimeout
This commit is contained in:
@@ -127,6 +127,7 @@
|
|||||||
#define ADC_VDD_MV 3300 // ADC max reading millivolts
|
#define ADC_VDD_MV 3300 // ADC max reading millivolts
|
||||||
|
|
||||||
#define POW_PD_EXT 0
|
#define POW_PD_EXT 0
|
||||||
|
#define USB_PD_TIMEOUT 20 // Default Timeout for USB-PD Protocol negotiation in x100ms
|
||||||
|
|
||||||
// Deriving the Voltage div:
|
// Deriving the Voltage div:
|
||||||
// Vin_max = (3.3*(r1+r2))/(r2)
|
// Vin_max = (3.3*(r1+r2))/(r2)
|
||||||
|
|||||||
@@ -148,6 +148,7 @@
|
|||||||
#define POW_PD 1
|
#define POW_PD 1
|
||||||
#define USB_PD_EPR_WATTAGE 0 /*No EPR (Yet?) */
|
#define USB_PD_EPR_WATTAGE 0 /*No EPR (Yet?) */
|
||||||
#define POW_PD_EXT 0
|
#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_QC 1
|
||||||
#define POW_DC 1
|
#define POW_DC 1
|
||||||
#define POW_QC_20V 1
|
#define POW_QC_20V 1
|
||||||
|
|||||||
@@ -148,6 +148,7 @@
|
|||||||
#define POW_PD 1 // Supported features
|
#define POW_PD 1 // Supported features
|
||||||
#define USB_PD_EPR_WATTAGE 140 // USB PD EPR Wattage
|
#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 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_QC 1 // Supported features
|
||||||
#define POW_DC 1 // Supported features
|
#define POW_DC 1 // Supported features
|
||||||
#define POW_QC_20V 1 // Supported features
|
#define POW_QC_20V 1 // Supported features
|
||||||
|
|||||||
Reference in New Issue
Block a user