grblHAL core  20241107
rgb_ptr_t Struct Reference

#include <rgb.h>

Data Fields

rgb_set_color_ptr out
 Optional handler for setting device (LED) color. More...
 
rgb_set_color_masked_ptr out_masked
 Optional handler for setting device (LED) color, with mask for which LEDs to change. More...
 
rgb_write_ptr write
 Optional handler for outputting data to Neopixel strip. More...
 
rgb_set_intensity_ptr set_intensity
 Optional handler for setting intensity, range 0 - 255. More...
 
rgb_color_t cap
 Driver capability, color value: 0 - not available, 1 - on off, > 1 - intensity range 0 - n. More...
 
rgb_properties_t flags
 Driver property flags. More...
 
uint16_t num_devices
 Number of devices (LEDs) available. More...
 

Field Documentation

◆ cap

Driver capability, color value: 0 - not available, 1 - on off, > 1 - intensity range 0 - n.

◆ flags

Driver property flags.

◆ num_devices

uint16_t num_devices

Number of devices (LEDs) available.

◆ out

Optional handler for setting device (LED) color.

◆ out_masked

Optional handler for setting device (LED) color, with mask for which LEDs to change.

◆ set_intensity

rgb_set_intensity_ptr set_intensity

Optional handler for setting intensity, range 0 - 255.

◆ write

Optional handler for outputting data to Neopixel strip.


The documentation for this struct was generated from the following file: