diff options
author | Raul Munoz <munoz0raul@gmail.com> | 2017-05-29 16:16:05 -0300 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-05-29 13:16:41 -0700 |
commit | 0b7e1c5c700f7fc87a2950298ba37ca78592f692 (patch) | |
tree | 21a0eb030b01b6e55bd87a2e07838773499fece3 /examples/imx7_colibri_m4/gpio_pins.h | |
parent | 40ee7474a319b8ad54155fd2cb6385df8e6f05bb (diff) |
examples: webinar: Config files to be used in the webinar
According to the configuration I will use in the webinar, I add this config
files to better exaplain gpio usage
Signed-off-by: Raul Munoz <raul.munoz@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples/imx7_colibri_m4/gpio_pins.h')
-rw-r--r-- | examples/imx7_colibri_m4/gpio_pins.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/imx7_colibri_m4/gpio_pins.h b/examples/imx7_colibri_m4/gpio_pins.h index 0994193..93cd07c 100644 --- a/examples/imx7_colibri_m4/gpio_pins.h +++ b/examples/imx7_colibri_m4/gpio_pins.h @@ -32,6 +32,8 @@ #define __GPIO_PINS_H__ #include "device_imx.h" +#include "gpio_imx.h" + /*! @brief i.MX GPIO initialize structure. */ typedef struct _gpio_config @@ -54,6 +56,16 @@ extern gpio_config_t gpioLed; extern gpio_config_t gpioKeyFunc1; extern gpio_config_t gpioKeyFunc2; +extern gpio_config_t gpioSwitch1; +extern gpio_config_t gpioLed1; +extern gpio_config_t gpioSwitch2; +extern gpio_config_t gpioLed2; + +extern gpio_init_config_t Switch1; +extern gpio_init_config_t Led1; +extern gpio_init_config_t Switch2; +extern gpio_init_config_t Led2; + /*! @brief Configure specific GPIO pin */ void configure_gpio_pin(gpio_config_t *config); |