Interrupts are supported using a special //go:interrupt pragma. For example: //go:interrupt INT0_vect func handleINT0() { // do something here }