A Simple BUTTON instance.

Public Attributes#

Current button state.

uint16_t

History of button states.

GPIO_Port_TypeDef

Button port.

uint8_t

Button pin.

Mode of operation.

Public Attribute Documentation#

state#

sl_button_state_t sl_simple_button_context_t::state

Current button state.


Definition at line 77 of file platform/driver/button/inc/sl_simple_button.h

history#

uint16_t sl_simple_button_context_t::history

History of button states.


Definition at line 78 of file platform/driver/button/inc/sl_simple_button.h

port#

GPIO_Port_TypeDef sl_simple_button_context_t::port

Button port.


Definition at line 79 of file platform/driver/button/inc/sl_simple_button.h

pin#

uint8_t sl_simple_button_context_t::pin

Button pin.


Definition at line 80 of file platform/driver/button/inc/sl_simple_button.h

mode#

sl_button_mode_t sl_simple_button_context_t::mode

Mode of operation.


Definition at line 81 of file platform/driver/button/inc/sl_simple_button.h