Added IRQEN, PERIOD and RSTATUS Loop