Structure representing a button configuration.

Public Attributes#

uint8_t

Pin number of the button.

uint8_t

Port number of the button.

uint8_t

Button number (for identification).

uint8_t

Pad byte (for alignment).

uint8_t

Interrupt configuration for the button.

Public Attribute Documentation#

pin#

uint8_t sl_button_t::pin

Pin number of the button.


port#

uint8_t sl_button_t::port

Port number of the button.


button_number#

uint8_t sl_button_t::button_number

Button number (for identification).


pad#

uint8_t sl_button_t::pad

Pad byte (for alignment).


interrupt_config#

uint8_t sl_button_t::interrupt_config

Interrupt configuration for the button.