Synopsis
typedef struct {
unsigned char pin;
unsigned char attributes;
const char *name;
} PLATFORM_LED_CONFIGURATION_t;
Description
PLATFORM_LED_CONFIGURATION_t describes the features of a LED connected
to a GPIO.
-
pin
- The digital pin that drives the LED. See PLATFORM_PIN_CONNECTION_t.
-
attributes
- The attributes of the LED. See PLATFORM_LED_ATTRIBUTE_t.
-
name
- The name of the LED. You can set this to the name of the
LED on the silkscreen or whatever is visible to the user for
identification. If name is zero, the LED's name is
derived from the GPIO connection name for pin or the pad
name for pin. See platform_led_name.
See Also
platform_led_catalog