RDK Documentation (Open Sourced RDK Components)
fp_profile.hpp
1 /*
2  * If not stated otherwise in this file or this component's Licenses.txt file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2016 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18 */
19 #ifndef FP_PROFILE_H
20 #define FP_PROFILE_H
21 
22 /**
23  * @addtogroup LED_TYPES
24  * @{
25  */
26 #define NUM_PATTERNS 3 /**< Total number of blink patterns */
27 
28 typedef enum
29 {
30  STATE_SLOW_BLINK = 0, /**< 500ms ON, 1000ms OFF */
31  STATE_DOUBLE_BLINK, /**< (200ms ON - 100ms OFF) x 2 - 1000ms OFF */
32  STATE_FAST_BLINK, /**< 200ms ON - 100ms OFF */
34 
35 /* @} */ // End of group LED_TYPES
36 
37 
38 #endif /*FP_PROFILE_H*/
blinkPatternType_t
blinkPatternType_t
Definition: fp_profile.hpp:28
STATE_SLOW_BLINK
@ STATE_SLOW_BLINK
Definition: fp_profile.hpp:30
STATE_DOUBLE_BLINK
@ STATE_DOUBLE_BLINK
Definition: fp_profile.hpp:31
STATE_FAST_BLINK
@ STATE_FAST_BLINK
Definition: fp_profile.hpp:32