Please see rtc_sample app that sets up the wake time before going to sleep.
rtc_sample is only part of SDK 2.1.1, however it looks as if SDK 1.1.0 performs similar.
The magical line seems to be:
gpio_configurePin(0, 0, 0x100, 0);
The first parameter is the P0 port (0 / 16).
The second is the P0 pin (0 %16).
The third is a config mask, but the value (0x0100) isn't defined in the gpiodriver.h enum. The ninth bit (index 8) is commented in the enum:
/// GPIO configruation bit 8,
The fourth parameter is output low value.
Is this correct? Can you elaborate on the third parameter? Are there any problems using this with SDK 1.1.0?
0x100 for P0 is high-z. You can use it on SDK 1.x.