2012-01-16 04:38 AM
Hi All
I am wondering about the USB FS device defines below: typedef union _USB_OTG_DIEPINTn_TypeDef { uint32_t d32; struct { uint32_t xfercompl : 1; uint32_t epdisabled : 1; uint32_t ahberr : 1; uint32_t timeout : 1; uint32_t intktxfemp : 1; uint32_t intknepmis : 1; uint32_t inepnakeff : 1; uint32_t emptyintr : 1; uint32_t txfifoundrn : 1; uint32_t Reserved08_31 : 23; } b; } USB_OTG_DIEPINTn_TypeDef ; Checking the data sheets for the various parts I don't see any emptyintr or txfifoundrn bits (also no ahberr bit). These positions are all marked as reserved. Reserved08_31 should be Reserved09_31 but this is not important. Checking some example ST code, the txfifoundrn bit is in fact set during the USB device initialisation. Is this of importance?? Regards Mark #usb