I really like the 68xx family for decoding IR. I find it really easy to set the uC to interrup on both rising and falling edges and on each edge the ISR Stop the counter, stores the capture count, reset the counter to 0, and restart the counter. Check the timer value for the expected pulse ranges and determine if start sequence, 0 bit, 1 bit and store, exit the ISR. When the code is complete, set a flag for the Main routine.
There should be a state machine for the code sequence you are looking for like the NEC in the previous message links.
If you set the timier dividers properly, you can measure bits, start sequences, and repeat messages. When the timer overflows, you can also determine the message is not repeated.
Good Luck,
Peter