⟩ What is an interrupt?
In simple terms, Interrupt are come from all hardware to indicate to the CPU that all hardware are live and work properly and it's an only way by which mode switching i.e. from User mode to kernel mode is done.
In simple terms, Interrupt are come from all hardware to indicate to the CPU that all hardware are live and work properly and it's an only way by which mode switching i.e. from User mode to kernel mode is done.