Sorry for dummy question - I have an SAMD21G17D Microchip curiosity nano board, I've installed MPLAB X IDE, want to re-do on the ARM an old design based on very old PIC microcontroller. To the moment all went fine except I cannot put ARM into the sleep nor by timer nor by external interrupt. Tried to google but have not find anything. Is there any good example on how to do that?