/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Sourcecode of framework functions

Username:     
Password:     
             

Forum

# 1   2009-02-16 18:25:12 Sourcecode of framework functions

zink
New member
Registered: 2009-02-06
Posts: 7

Sourcecode of framework functions

Does anyone know where I can find the c-code of framework functions?

For example the prototype of the function GPIO_Init( ) is defined in the header file "stm32f10x_gpio.h". But where can I find the corresponding c-file ("stm32f10x_gpio.c")?

Thanks for any help!

s.zink

Offline

 

# 2   2009-02-16 23:02:31 Sourcecode of framework functions

domi
New member
Registered: 2007-09-04
Posts: 4

Re: Sourcecode of framework functions

The STM32 firmware lib is organized in 2 directories, ./inc and ./src  with in each directory one file per peripheral: the .h file in the ./inc directory and the corresponding .c source file in the ./src directory.
So for the GPIO the source code is in the stm32f10x_gpio.c file

Domi

Offline

 

# 3   2009-02-17 08:12:12 Sourcecode of framework functions

zink
New member
Registered: 2009-02-06
Posts: 7

Re: Sourcecode of framework functions

Thanks for your reply!

s.zink

Last edited by zink (2009-02-17 08:18:52)

Offline

 

Board footer