Data Fields
Button_HWAttrs Struct Reference

Hardware specific settings for a button. More...

#include <Button.h>

Data Fields

uint_least8_t gpioIndex
 
Button_Pull pullMode
 
uint32_t internalPullEnabled
 

Detailed Description

Hardware specific settings for a button.

This structure should be defined and provided by the application.

Field Documentation

§ gpioIndex

uint_least8_t Button_HWAttrs::gpioIndex

GPIO configuration index.

§ pullMode

Button_Pull Button_HWAttrs::pullMode

Whether the button is active high or active low.

§ internalPullEnabled

uint32_t Button_HWAttrs::internalPullEnabled

True/False whether the pullup on the GPIO pin should be enabled


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