AnsweredAssumed Answered

STM32F4 Discovery Demo code question

Question asked by Baev.Alexander on Aug 12, 2014
Latest reply on Aug 12, 2014 by Baev.Alexander


I have medium knowledge of C/C++ (it was enough to make certain devices using Atmel AVR microcontorllers). Now I try to understand the Demo example of the STM32F4 Discovery. Is there some description of it?

I watch the program in IAR EWARM.

For example what does __IO mean:


__IO uint32_t DR;


and this (exactly if USART_TypeDef is a pointer why * is placed after the type):


#define USART3 ((USART_TypeDef *) USART3_BASE)