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.
Definition at line
63
of file platform/driver/button/inc/sl_button.h
init#
sl_status_t(* sl_button_t::init) (const sl_button_t *handle)
Member function to initialize BUTTON instance.
Definition at line
64
of file platform/driver/button/inc/sl_button.h
poll#
void(* sl_button_t::poll) (const sl_button_t *handle)
Member function to poll BUTTON.
Definition at line
65
of file platform/driver/button/inc/sl_button.h
enable#
void(* sl_button_t::enable) (const sl_button_t *handle)
Member function to enable BUTTON.
Definition at line
66
of file platform/driver/button/inc/sl_button.h
disable#
void(* sl_button_t::disable) (const sl_button_t *handle)
Member function to disable BUTTON.
Definition at line
67
of file platform/driver/button/inc/sl_button.h
get_state#
sl_button_state_t(* sl_button_t::get_state) (const sl_button_t *handle)
Member function to retrieve BUTTON state.
Definition at line
68
of file platform/driver/button/inc/sl_button.h