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)