Vai al contenuto

Classes of Global Variables

Global variables are organized in special folders of the project tree called Global_vars.Those variables are classified according to their properties as:
  • Automatic: the compiler automatically allocates them to an appropriate location in the target device memory.
  • Mapped: they have an assigned address in the target device logical addressing system, which shall be specified by the developer.
  • Constants: are declared having the CONSTANT attribute; They cannot be written.
  • Retains: they are declared having the RETAIN attribute; Their values are stored in a persistent memory area of the target device.