sl_simple_led_context_t Struct Reference

A Simple LED instance.

#include <sl_simple_led.h>

Data Fields

GPIO_Port_TypeDef port
 LED port.
 
uint8_t pin
 LED pin.
 
sl_led_polarity_t polarity
 Initial state of LED.
 

A Simple LED instance.

Field Documentation

◆ port

GPIO_Port_TypeDef sl_simple_led_context_t::port

LED port.

◆ pin

uint8_t sl_simple_led_context_t::pin

LED pin.

◆ polarity

sl_led_polarity_t sl_simple_led_context_t::polarity

Initial state of LED.