Hello I want to work with CMSIS library for stm32f1.I have some question that I will thank you for your help
1)As you see in this picture I have added CMSIS library but it shows me "file not found" or "error in chain", what is my mistake? a)obrazki.elektroda.pl/9409863500_1473155157.png b)obrazki.elektroda.pl/6331831100_1473155156.png c)obrazki.elektroda.pl/4771228300_1473155156.png
2)for defining a GPIO port as input or output I see we have some functions in "GPIO_STM32F10x.h" CMSIS library but it seems we don't have any good references that explain each function very well(you can google "GPIO_PinConfigure" but there isn't any site...)
for example for GPIO_PinConfigure function we have:
/** \fn bool GPIO_PinConfigure (GPIO_TypeDef *GPIOx, uint32_t num, GPIO_CONF conf, GPIO_MODE mode) \brief Configure port pin \param[in] GPIOx Pointer to GPIO peripheral \param[in] num Port pin number \param[in] mode \ref GPIO_MODE \param[in] conf \ref GPIO_CONF \return true - success false - error */ bool GPIO_PinConfigure(GPIO_TypeDef *GPIOx, uint32_t num, GPIO_CONF conf, GPIO_MODE mode) { ...... return true; }
where can I find what GPIO_CONF , GPIO_MODE are ? and what does "\ref " mean before it's comment?
Note that the header files will contain all data types in use by the library.
The tags you are seeing are used for creating automatic documentation from the embedded source code comments.
Here is a list of possible tags supported by Doxygen: www.stack.nl/.../commands.html
There are other tools using similar tags, but Doxygen is used quite a lot.
You can access the documentation directly in uVision using Project - Manage - Run-Time Environment.
Open the Component tree Device - StdPeriph Drivers - Framework. Then click on the link "Standard Peripherals Driver Framework"
Thanks Per Westermark and Reinhard Keil
1)I have added the all requirement files to my project via Project->manage->Run-time-enviroment windows but it shows me obrazki.elektroda.pl/4401210700_1473252253.png for all my added files.fortunately my project works fine and after compile it doesn't show any error or warning in compile window!!!
2)why can't I see defined function in function windows? obrazki.elektroda.pl/8712233100_1473252404.png