Revision 21076167 source/alld_led.c
| source/alld_led.c | ||
|---|---|---|
| 58 | 58 |
* @param[in] led_state The state to set the LED to. |
| 59 | 59 |
* @return An indicator whether the call was successful. |
| 60 | 60 |
*/ |
| 61 |
inline apalExitStatus_t |
|
| 62 |
led_lld_set(const LEDDriver* const led, const led_lld_state_t state) |
|
| 61 |
apalExitStatus_t led_lld_set(const LEDDriver* const led, const led_lld_state_t state) |
|
| 63 | 62 |
{
|
| 64 | 63 |
apalDbgAssert(led != NULL); |
| 65 | 64 |
|
| ... | ... | |
| 72 | 71 |
* @param[out] led_state The state object to fill. |
| 73 | 72 |
* @return An indicator whether the call was successful. |
| 74 | 73 |
*/ |
| 75 |
inline apalExitStatus_t |
|
| 76 |
led_lld_get(const LEDDriver* const led, led_lld_state_t* const state) |
|
| 74 |
apalExitStatus_t led_lld_get(const LEDDriver* const led, led_lld_state_t* const state) |
|
| 77 | 75 |
{
|
| 78 | 76 |
apalDbgAssert(led != NULL); |
| 79 | 77 |
apalDbgAssert(state != NULL); |
| ... | ... | |
| 89 | 87 |
* @param[in] ledp The LED driver object. |
| 90 | 88 |
* @return An indicator whether the call was successful. |
| 91 | 89 |
*/ |
| 92 |
inline apalExitStatus_t |
|
| 93 |
led_lld_toggle(const LEDDriver* const led) |
|
| 90 |
apalExitStatus_t led_lld_toggle(const LEDDriver* const led) |
|
| 94 | 91 |
{
|
| 95 | 92 |
apalDbgAssert(led != NULL); |
| 96 | 93 |
|
Also available in: Unified diff