Reading memory sections sizes

To use the following functions, include library HC_Sram.h to access and work with the supplied variable called “HC_sram”.

Data section

  • HC_sram.getAddress_DataStart()      => return start address (unsigned int)
  • HC_sram.getAddress_DataEnd()        => return end address (unsigned int)

Bss section

  • HC_sram.getAddress_BssStart()         => return start address (unsigned int)
  • HC_sram.getAddress_BssEnd()           => return end address (unsigned int)

Heap

  • HC_sram.getAddress_HeapStart()      => return start address (unsigned int)
  • HC_sram.getAddress_HeapEnd()        => return end address (unsigned int)
  • HC_sram.getAddress_HeapBreakValue(probe)  => return Brake Value address (unsigned int)

Stack

  • HC_sram.getStackPointer(probe)       => return Stack Pointer value (unsigned int)

Free RAM

  • HC_sram.getFreeRAM(probe)             => return Free RAM size (unsigned int)
CONTENTS

HITISoftware

Control and Monitoring Software for Arduino