zephyr/drivers/led/led_context.h
Flavio Ceolin 67ca176754 headers: Fix headers across the project
Any word started with underscore followed by and uppercase letter or a
second underscore is a reserved word according with C99.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2018-09-17 15:49:26 -04:00

38 lines
734 B
C

/*
* Copyright (c) 2018 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Private LED driver APIs
*/
#ifndef ZEPHYR_DRIVERS_LED_LED_CONTEXT_H_
#define ZEPHYR_DRIVERS_LED_LED_CONTEXT_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Internal driver specific representation of an LED device
*/
struct led_data {
/* Minimum acceptable LED blinking time period (in ms) */
u32_t min_period;
/* Maximum acceptable LED blinking time period (in ms) */
u32_t max_period;
/* Minimum acceptable LED brightness value */
u16_t min_brightness;
/* Maximum acceptable LED brightness value */
u16_t max_brightness;
};
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_DRIVERS_LED_LED_CONTEXT_H_ */