|
PixelKey
NeoPixel USB Key
|
Configuration structure. More...
#include <config.h>
Data Fields | |
| struct { | |
| uint16_t crc | |
| CRC-CCITT of all the following fields in the structure. | |
| uint8_t length | |
| Size of the configuration data struct at the time of save. | |
| uint8_t version | |
| Configuration struct version. | |
| } | header |
| Config header. More... | |
| union { | |
| struct { | |
| uint32_t echo_enabled: 1 | |
| COM echo is enabled. | |
| uint32_t gamma_enabled: 1 | |
| Gamma correction is enabled. | |
| uint32_t __pad0__: 30 | |
| } flags_b | |
| Configuration flags bit-field. | |
| uint32_t flags | |
| Configuration flags as a word. | |
| }; | |
| float | gamma_factor |
| Gamma correction factor. | |
| uint32_t | framerate |
| Frame rate. | |
| uint32_t | num_neopixels |
| Number of attached neopixels. | |
| uint8_t | max_rgb_value |
| Maximum brightness allowed for any RGB channel. | |
| config_neopixel_phy_t | neopixel_phy |
| PHY configuration. | |
Configuration structure.
| struct { ... } config_data_t::header |
Config header.