LED handler definitions. More...
#include <stdint.h>
Go to the source code of this file.
Defines | |
#define | LED_OFF 0 |
LED action definitions. | |
#define | LED_ON 1 |
Switch LED on. | |
#define | LED_FLIP 2 |
Flip the LED state (toggle). | |
#define | LED_BLINK 4 |
Let the LED blink continuously. | |
Functions | |
void | NutSetLed (HANDLE ledh, uint_fast8_t fxin, uint32_t timOn, uint32_t timOff) |
sets state of a LED | |
void | SetLedEvent (uint8_t led, uint32_t interval, uint32_t duration) |
int | NutRegisterLed (HANDLE *ledh, int port, int pin) |
Register an LED for handling. |
LED handler definitions.
Definition in file led.h.