As we have already discussed that the interrupt could be software generated (internal interrupt) or due to hardware (external interrupt).