void power_init(void)
Enable the DC/DC converter, configure GPIO input and GPIOTE wakeup on the PTT button.
Definition power.c:16
void power_sleep_until_button(void)
Enter SYSTEM_ON low-power sleep and return on the next GPIOTE event.
Definition power.c:42
bool power_button_pressed(void)
Return the current state of the PTT button.
Definition power.c:48