Source: https://mrcet.com/downloads/digital_notes/ECE/IV Year/10082021/EMBEDDED SYSTEMS DESIGN.pdf