Data Fields
Button_HWAttrs Struct Reference

Hardware specific settings for a button. More...

#include <Button.h>

Data Fields

uint_least8_t gpioIndex
 

Detailed Description

Hardware specific settings for a button.

This structure should be defined and provided by the application. The index provided should correspond to a gpio pin in a GPIO_PinConfig array. This gpio pin should be the pin connected to the button and must be configured as GPIO_CFG_INPUT and GPIO_CFG_IN_INT_FALLING.

Field Documentation

§ gpioIndex

uint_least8_t Button_HWAttrs::gpioIndex

GPIO configuration index.


The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale