2 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
4 * Licensed under the Flora License, Version 1.1 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef RESOURCE_RESOURCE_LED_H_
19 #define RESOURCE_RESOURCE_LED_H_
23 typedef enum _led_color_e {
29 void resource_led_init(void);
30 void resource_led_destroy(void);
31 void resource_bi_led_set(bi_led_color_e color);
32 void resource_bi_led_blink(bi_led_color_e color, unsigned timeout);
33 void resource_rgb_gpio_set(bool red, bool green, bool blue);
34 void resource_gpio_rgb_blink(bool red, bool green, bool blue, unsigned timeout);
35 void resource_rgb_l2c_set(bool red, bool green, bool blue);
36 void resource_rgb_l2c_blink(bool red, bool green, bool blue, unsigned timeout);
38 #endif /* RESOURCE_RESOURCE_LED_H_ */