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 82 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 83 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 88 of file platform/driver/button/inc/sl_simple_button.h

pin#

uint8_t sl_simple_button_context_t::pin

Button pin.


Definition at line 91 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 92 of file platform/driver/button/inc/sl_simple_button.h