Add timer interrupt.
Add external interrupt.