Add tc interrupt handling