How compatible is the Xiao to an Arduino e.g. Nano?

OK Interrupt set by another name. How about a call to SetupDecoder() with 3 parameters. The 3rd parameter is interupt pin ? Or a call to StartInterrupt(interrupt); ?

Data stream in pin A2/D2 ?