 From an energy perspective, the most relevant kinds of memory are the on-chip memory of a microcontroller and Flash memory—off-chip RAM is rarely, if ever, used.Flash memories are used due to their cost and storage capacity.Memory requirements are very much application dependent.