hal
Hardware Abstraction Layer
gpio.h File Reference

Toggles the onboard LED. More...

#include "hal_types.h"
Include dependency graph for gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

hal_status_t hal_gpio_init ()
 Initialize the module. Must be called only once prior to using toggle. More...
 
hal_status_t hal_gpio_toggle_led ()
 Toggle the onboard LED. More...
 

Detailed Description

Toggles the onboard LED.

Copyright (c) 2025 Cory McKiel. Licensed under the MIT License. See LICENSE file in the project root.

Function Documentation

◆ hal_gpio_init()

hal_status_t hal_gpio_init ( )

Initialize the module. Must be called only once prior to using toggle.

Returns
HAL_STATUS_OK on success.

◆ hal_gpio_toggle_led()

hal_status_t hal_gpio_toggle_led ( )

Toggle the onboard LED.

Returns
HAL_STATUS_OK on success.