A LED instance.

Public Attributes#

void *

The context for this LED instance.

sl_status_t(*

Member function to initialize LED instance.

void(*

Member function to turn on LED.

void(*

Member function to turn off LED.

void(*

Member function to toggle LED.

Member function to retrieve LED state.

Public Attribute Documentation#

context#

void* sl_led_t::context

The context for this LED instance.


Definition at line 66 of file platform/driver/leddrv/inc/sl_led.h

init#

sl_status_t(* sl_led_t::init) (void *context)

Member function to initialize LED instance.


Definition at line 67 of file platform/driver/leddrv/inc/sl_led.h

turn_on#

void(* sl_led_t::turn_on) (void *context)

Member function to turn on LED.


Definition at line 68 of file platform/driver/leddrv/inc/sl_led.h

turn_off#

void(* sl_led_t::turn_off) (void *context)

Member function to turn off LED.


Definition at line 69 of file platform/driver/leddrv/inc/sl_led.h

toggle#

void(* sl_led_t::toggle) (void *context)

Member function to toggle LED.


Definition at line 70 of file platform/driver/leddrv/inc/sl_led.h

get_state#

sl_led_state_t(* sl_led_t::get_state) (void *context)

Member function to retrieve LED state.


Definition at line 71 of file platform/driver/leddrv/inc/sl_led.h