|
Generalized-Core-Counter 3.20
Particle-based generalized core counter firmware
|
Static metadata for each supported sensor type. More...
#include <SensorDefinitions.h>
Public Attributes | |
| bool | ledDefaultOn |
| true if LED should be ON at boot (polarity-specific) | |
| const char * | name |
| Short name for logging / display. | |
| SensorType | type |
| SensorType enum value. | |
| bool | usesInterrupt |
| true if sensor uses a hardware interrupt line | |
Static metadata for each supported sensor type.
This provides a single place to review which sensor types are defined in the firmware and to adjust device-specific defaults (such as LED behavior, interrupt usage, etc.).
Definition at line 14 of file SensorDefinitions.h.
| bool SensorDefinition::ledDefaultOn |
true if LED should be ON at boot (polarity-specific)
Definition at line 17 of file SensorDefinitions.h.
Referenced by setup().
| const char* SensorDefinition::name |
Short name for logging / display.
Definition at line 16 of file SensorDefinitions.h.
| SensorType SensorDefinition::type |
SensorType enum value.
Definition at line 15 of file SensorDefinitions.h.
| bool SensorDefinition::usesInterrupt |
true if sensor uses a hardware interrupt line
Definition at line 18 of file SensorDefinitions.h.