Question
definition problem in stm32_f105-07_f2_f4_usb-host-device_lib ( usb_regs.h )
Posted on March 06, 2013 at 16:51
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 #stm32-usb-library