AnsweredAssumed Answered

definition problem in stm32_f105-07_f2_f4_usb-host-device_lib ( usb_regs.h )

Question asked by clement.pascal on Mar 6, 2013
Latest reply on Mar 6, 2013 by clement.pascal
Hi,
I have a problem in file usb_regs.h of  stm32_f105-07_f2_f4_usb-host-device_lib (version 2.10 )

typedef union _USB_OTG_DEP0XFRSIZ_TypeDef
{
  uint32_t d32;
  struct
  {
uint32_t xfersize :
    7;
uint32_t Reserved7_18 :
    12;
uint32_t pktcnt :
    2;
uint32_t Reserved20_28 :
    9;
uint32_t supcnt :
    2;
    uint32_t Reserved31;
  }
  b;
} USB_OTG_DEP0XFRSIZ_TypeDef ;

For me, the definition  found in ref manual  is pktcnt : 1 , not :2;
and reserved31 is :1 .

what is wrong ?

Thanks in advance.
Pascal

Outcomes