Using timer3 as a timer, the external interrupt mode decodes the NEC protocol infrared remote control.