Used sysless functions for IRQ handling. Used access functions to the chip register...