Bug in STM32CubeMonitor-UCPD log - RDO decoding
Hi,
STM32CubeMonitor-UCPD sometimes displays RDOs like this:

Where does the number MaximumOperatingCurrent come form? Since the RDO is defined as:
typedef struct
{
uint32_t MaxOperatingCurrent10mAunits : /*!< Corresponding to min if GiveBackFlag = 1 */ 10u;
uint32_t OperatingCurrentIn10mAunits : 10u;
...
} USBPD_SNKFixedVariableRDO_TypeDef;
MaximumOperatingCurrent should correspond to the lowest 10 bits of the data. These are 0x05 0x14 as displayed in "DATA:" in the monitor. This would mean that MaximumOperatingCurrent is 5, not 517(0).
I also verified in USBPD_TRACE_Add that the data sent in Ptr is indeed actually 0x82 0x12 0x05 0x14 0x00 0x17.
Am I right that MaximumOperatingCurrent=5 in this case?
Thanks!
