AnsweredAssumed Answered

STM32F103 USB Register h file?

Question asked by flown.tesca on Dec 24, 2015
Latest reply on Dec 28, 2015 by flown.tesca

I use the STM32F103C8T6 to practice.

I got the stm32f1-stdperiph v3.5 as include files.

Now, I try to do my fisrt step to make work the USB peripherial. My problem is I didn't find any easy struct access to the USB register in "stm32f10x.h"

I mean, during all my learning test, I always able to access to any register with something like this for instance:

TIM1->PSC =xx or RCC->APB2ENR |=xx, etc

I sought inside all h file, but no struct access for USB. For instance, to access to CNTR register, I can not write:

USB->CNTR=. I have to write *((uint16_t*)(0x40005C40))=

is somebody can say me whether there is a h file where all the USB registers are defined in struct pattern? 

Thanks for your help.