hal
Hardware Abstraction Layer
gpio.h
Go to the documentation of this file.
1
8
#ifndef _GPIO_H
9
#define _GPIO_H
10
11
#include "
hal_types.h
"
12
18
hal_status_t
hal_gpio_init
();
19
25
hal_status_t
hal_gpio_toggle_led
();
26
27
#endif
/* _GPIO_H */
hal_gpio_init
hal_status_t hal_gpio_init()
Initialize the module. Must be called only once prior to using toggle.
Definition:
stm32f4_gpio.c:21
hal_gpio_toggle_led
hal_status_t hal_gpio_toggle_led()
Toggle the onboard LED.
Definition:
stm32f4_gpio.c:35
hal_types.h
Common types used across HAL modules.
hal_status_t
hal_status_t
Return type for HAL functions.
Definition:
hal_types.h:17
include
hal
gpio.h
Generated by
1.9.1