Question
Configure GPIOs PA11 and PA12 to USB D+ and D-
Posted on July 11, 2016 at 17:27
I'm working with STM32F070xB
I need to configure GPIOs PA11 and PA12 to USB D+ and D- alternate function. According to datasheet it is listed as Additional functions (not Alternate) USB_DM and USB_DP. It is not clear how to configure these GPIO for USB functionality. If they are not Alternate functions so how can I reach desired functionality?We are not using Standard Peripheral Library. I need explanation in terms of GPIO port registers.
Thanks.
