Revision ef078306 include/alld_led.h
include/alld_led.h | ||
---|---|---|
31 | 31 |
|
32 | 32 |
#if defined(AMIROLLD_CFG_USE_LED) || defined(__DOXYGEN__) |
33 | 33 |
|
34 |
/******************************************************************************/ |
|
35 |
/* CONSTANTS */ |
|
36 |
/******************************************************************************/ |
|
37 |
|
|
34 | 38 |
/** |
35 | 39 |
* @brief Active state of LED GPIO (low active). |
36 | 40 |
*/ |
37 | 41 |
#define LED_LLD_GPIO_ACTIVE_STATE APAL_GPIO_ACTIVE_LOW |
38 | 42 |
|
43 |
/******************************************************************************/ |
|
44 |
/* SETTINGS */ |
|
45 |
/******************************************************************************/ |
|
46 |
|
|
47 |
/******************************************************************************/ |
|
48 |
/* CHECKS */ |
|
49 |
/******************************************************************************/ |
|
50 |
|
|
51 |
/******************************************************************************/ |
|
52 |
/* DATA STRUCTURES AND TYPES */ |
|
53 |
/******************************************************************************/ |
|
54 |
|
|
39 | 55 |
/** |
40 | 56 |
* @brief LED driver data structure. |
41 | 57 |
*/ |
... | ... | |
51 | 67 |
LED_LLD_STATE_ON = 0x01, /**< 'off' state of the LED */ |
52 | 68 |
} led_lld_state_t; |
53 | 69 |
|
70 |
/******************************************************************************/ |
|
71 |
/* MACROS */ |
|
72 |
/******************************************************************************/ |
|
73 |
|
|
74 |
/******************************************************************************/ |
|
75 |
/* EXTERN DECLARATIONS */ |
|
76 |
/******************************************************************************/ |
|
77 |
|
|
54 | 78 |
#ifdef __cplusplus |
55 | 79 |
extern "C" { |
56 | 80 |
#endif |
... | ... | |
61 | 85 |
} |
62 | 86 |
#endif |
63 | 87 |
|
88 |
/******************************************************************************/ |
|
89 |
/* INLINE FUNCTIONS */ |
|
90 |
/******************************************************************************/ |
|
91 |
|
|
64 | 92 |
#endif /* defined(AMIROLLD_CFG_USE_LED) */ |
65 | 93 |
|
66 | 94 |
#endif /* AMIROLLD_LED_H */ |
Also available in: Unified diff