Generally, an embedded system comprises power supply, processor, memory, timers, serial communication ports and system application specific circuits. Embedded systems can be classified into different types based on performance, functional requirements and performance of the microcontroller.