light_device_t Struct Reference

light_device_t Struct Reference

#include < lights.h >

Data Fields

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

Detailed Description

Definition at line 176 of file lights.h .

Field Documentation

struct hw_device_t common

Definition at line 177 of file lights.h .

int(* 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 184 of file lights.h .

The documentation for this struct was generated from the following file: