Content originally posted in LPCWare by blasiis on Wed Apr 21 05:15:03 MST 2010 What is the __IO FlagStatus definition ? Where can I find a manual for this syntax ?
Content originally posted in LPCWare by CodeRedSupport on Wed Apr 21 05:32:16 MST 2010 [FONT=Courier New]__I[/FONT], [FONT=Courier New]__O[/FONT] and [FONT=Courier New]__IO[/FONT] are defined in [FONT=Courier New]core_cm3.h[/FONT] (or[FONT=Courier New] core_cm0.h[/FONT] for LPC11) within the CMSIS library projects.
There is documentation on CMSIS in the docs subdirectory within the CMSIS projects.
Content originally posted in LPCWare by igorsk on Wed Apr 21 05:28:09 MST 2010 __I, __O and __IO are defined in the core_cm3.h header. Basically, they add a volatile specifier for the compiler and provide a hint for the user.