Data Fields
light_device_t Struct Reference

Data Fields

struct hw_device_t common
 
int(* set_light )(struct light_device_t *dev, struct light_state_t const *state)
 Set the provided lights to the provided values. More...
 

Detailed Description

Definition at line 121 of file lights.h.

Field Documentation

struct hw_device_t light_device_t::common

Definition at line 122 of file lights.h.

int(* light_device_t::set_light)(struct light_device_t *dev, struct light_state_t const *state)

Set the provided lights to the provided values.

Returns: 0 on succes, error code on failure.

Definition at line 129 of file lights.h.