ESPHome 2025.7.1
|
Component state management using compact bitfield structure. More...
#include <nextion_component.h>
Data Fields | |
uint16_t | bco_needs_update: 1 |
uint16_t | bco_is_set: 1 |
uint16_t | bco2_needs_update: 1 |
uint16_t | bco2_is_set: 1 |
uint16_t | pco_needs_update: 1 |
uint16_t | pco_is_set: 1 |
uint16_t | pco2_needs_update: 1 |
uint16_t | pco2_is_set: 1 |
uint16_t | font_id_needs_update: 1 |
uint16_t | font_id_is_set: 1 |
uint16_t | visible_needs_update: 1 |
uint16_t | visible_is_set: 1 |
uint16_t | visible: 1 |
uint16_t | reserved: 3 |
Component state management using compact bitfield structure.
Stores all component state flags and properties in a single 16-bit bitfield for efficient memory usage and improved cache locality.
Each component property maintains two state flags:
The visible field stores both the update flags and the actual visibility state.
Definition at line 53 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::bco2_is_set |
Definition at line 60 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::bco2_needs_update |
Definition at line 59 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::bco_is_set |
Definition at line 56 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::bco_needs_update |
Definition at line 55 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::font_id_is_set |
Definition at line 72 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::font_id_needs_update |
Definition at line 71 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::pco2_is_set |
Definition at line 68 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::pco2_needs_update |
Definition at line 67 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::pco_is_set |
Definition at line 64 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::pco_needs_update |
Definition at line 63 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::reserved |
Definition at line 80 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::visible |
Definition at line 77 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::visible_is_set |
Definition at line 76 of file nextion_component.h.
uint16_t esphome::nextion::NextionComponent::ComponentState::visible_needs_update |
Definition at line 75 of file nextion_component.h.