Timer interrupts on XIAO

Does the XIAO support timer interrupts? If so, does anyone have a sample sketch for Arduino that demonstrates? I’m familiar with interrupts on the Uno, but my code fails to compile for the XIAO. Thanks.

You can try the API. I hope it meets your needs.

Thank you, that is most helpful.

That doesn’t look like a timer interrupt to me it looks like an interrupt on a pin.