evk_dbg.h

This module controls debug GPIO of 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_dbg_debug_pin_init(void)

Initializes the debug pins on the expansion board.

void evk_dbg_on(evk_dbg_t gpio)

Set a GPIO.

Parameters:

gpio[in] GPIO ID number.

void evk_dbg_off(evk_dbg_t gpio)

Toggle io OFF.

Parameters:

gpio[in] GPIO ID number.

void evk_dbg_toggle(evk_dbg_t gpio)

Toggle a GPIO.

Parameters:

gpio[in] GPIO ID number.

void evk_dbg_pulse(evk_dbg_t gpio)

Pulse a GPIO.

Parameters:

gpio[in] GPIO ID number.