add fifo code to interrupt, cpu idle in LPM0 mode