Add @param documentation for new event parameter
Add clear irq to attach() template function
Call irq_handler for every interrupt set