Add status irq and callback function