You are viewing documentation for version:
A BUTTON instance. 
BUTTON Instance structure. 
Public Attributes#
void *
The context for this BUTTON instance. 
sl_status_t(*
Member function to initialize BUTTON instance. 
void(*
Member function to poll BUTTON. 
void(*
Member function to enable BUTTON. 
void(*
Member function to disable BUTTON. 
Member function to retrieve BUTTON state. 
Public Attribute Documentation#
context#
void* sl_button_t::context
The context for this BUTTON instance. 
init#
sl_status_t(* sl_button_t::init) (const sl_button_t *handle)
Member function to initialize BUTTON instance. 
poll#
void(* sl_button_t::poll) (const sl_button_t *handle)
Member function to poll BUTTON. 
enable#
void(* sl_button_t::enable) (const sl_button_t *handle)
Member function to enable BUTTON. 
disable#
void(* sl_button_t::disable) (const sl_button_t *handle)
Member function to disable BUTTON. 
get_state#
sl_button_state_t(* sl_button_t::get_state) (const sl_button_t *handle)
Member function to retrieve BUTTON state.