Skip to content

Update usbpd_def.h #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libraries/USBPD_SINK/src/usbpd_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extern "C" {
typedef struct
{
uint32_t MaxCurrentIn10mAunits : 10u;
uint32_t VolatageIn50mVunits : 10u;
uint32_t VoltageIn50mVunits : 10u;
uint32_t PeakCurrent : 2u;
uint32_t Reserved_22bit : 1u;
uint32_t EPRModeCapable : 1u;
Expand All @@ -47,9 +47,9 @@ typedef struct
{
uint32_t MaxCurrentIn50mAincrements : 7u;
uint32_t Reserved_7bit : 1u; // shall br set to zero
uint32_t MinVlotageIn100mVincrements: 8u;
uint32_t MinVoltageIn100mVincrements: 8u;
uint32_t Reserved_16bit : 1u; // shall br set to zero
uint32_t MaxVlotageIn100mVincrements: 8u;
uint32_t MaxVoltageIn100mVincrements: 8u;
uint32_t Reserved_25_26bit : 2u; // shall br set to zero
uint32_t PPSpowerLimited : 1u;
uint32_t SPRprogrammablePowerSupply : 2u; // 00b
Expand Down