evk_power.h
This module controls the power features of the SPARK EVK board.
- Copyright
Copyright (C) 2026 SPARK Microsystems International Inc. All rights reserved.
- License
This source code is proprietary and subject to the SPARK Microsystems Software EULA found in this package in file EULA.txt.
- Author
SPARK FW Team.
Functions
-
void evk_power_vdd_select_gpio_init(evk_vdd_t vdd)
Initialize GPIOs for the voltage select feature.
- Parameters:
vdd – [in] Select whether the board runs on 1.8V or 3.3V.
VDD_1V8
VDD_3V3
-
void evk_power_set_board_voltage(evk_vdd_t vdd)
Select board voltage between 1.8V and 3.3V.
- Parameters:
vdd – [in] Select whether the board runs on 1.8V or 3.3V.
VDD_1V8
VDD_3V3
-
void evk_power_shutdown_and_wake_up(uint32_t ms)
Put the system into shutdown and wake up after X ms is reached.
Note
Upon wake up the system resets and starts from main. The maximum value is 30 seconds (30000).
- Parameters:
ms – [in] Milliseconds until wake up.