Search code examples
cgccembeddedarmgnu-arm

Where is UNS_32 defined?


I'm using Doxygen on a client's source code and Doxygen can't find a symbol UNS_32.

The client's code compiles without errors using the GNU ARM compiler.

I have searched the client's code base and can't find the definition of UNS_32.

I searched the GNU ARM source code tree and can't find it either.

So, where is the symbol UNS_32 defined?

*Note: I'm not looking for the meaning. I want the definition so I can put it in my Doxygen configuration file. *

Example usage:

void lpc_heap_init (void *base_addr, UNS_32 heap_size);

Solution

  • It is defined in lpc_types.h

    http://code.google.com/p/32bitmicro/source/browse/trunk/src/nxp/lpc17xx/LPC1700CMSIS/Drivers/include/lpc_types.h?spec=svn226&r=226

    /** SMA type for 32 bit unsigned value */
    typedef uint32_t UNS_32;