ESPHome
2025.3.2
|
Go to the source code of this file.
Namespaces | |
esphome | |
Implementation of SPI Controller mode. | |
esphome::msa3xx | |
Functions | |
const char * | esphome::msa3xx::model_to_string (Model model) |
const char * | esphome::msa3xx::power_mode_to_string (PowerMode power_mode) |
const char * | esphome::msa3xx::res_to_string (Resolution resolution) |
const char * | esphome::msa3xx::range_to_string (Range range) |
const char * | esphome::msa3xx::bandwidth_to_string (Bandwidth bandwidth) |
const char * | esphome::msa3xx::orientation_xy_to_string (OrientationXY orientation) |
const char * | esphome::msa3xx::orientation_z_to_string (bool orientation) |
void | esphome::msa3xx::binary_event_debounce (bool state, bool old_state, uint32_t now, uint32_t &last_ms, Trigger<> &trigger, uint32_t cooldown_ms, void *bs, const char *desc) |
Variables | |
const uint8_t | esphome::msa3xx::MSA_3XX_PART_ID = 0x13 |
const float | esphome::msa3xx::GRAVITY_EARTH = 9.80665f |
const float | esphome::msa3xx::LSB_COEFF = 1000.0f / (GRAVITY_EARTH * 3.9) |
const float | esphome::msa3xx::G_OFFSET_MIN = -4.5f |
const float | esphome::msa3xx::G_OFFSET_MAX = 4.5f |
const uint8_t | esphome::msa3xx::RESOLUTION [] = {14, 12, 10, 8} |
const uint32_t | esphome::msa3xx::TAP_COOLDOWN_MS = 500 |
const uint32_t | esphome::msa3xx::DOUBLE_TAP_COOLDOWN_MS = 500 |
const uint32_t | esphome::msa3xx::ACTIVITY_COOLDOWN_MS = 500 |