add status irq and callback function