There are possibilities in embedded design where you do not have enough I/O pins available in your microcontroller. That can be due to any reason