STANDBY Mode for ATsamd21G18


I am currently using a sparkfun samd21 mini dev board that utilizes the ATsamd21G18 Microcontroller. I need to get this board into a STANDBY power save Mode. I have tried to use the AVR/sleep.h library but it is not compatible with this microcontroller. I was wondering if anyone had any examples or advice on how to accomplish this?

Guidance would be greatly appreciated!

Thank you

Some background links for the samd21 mini dev board and ATsamd21G18 microcontroller.

Don't think there is a library for sleep yet for that controller. But you still can put it to sleep if you read page 125 (starting at the bottom) of the datasheet.