7#ifdef USE_BINARY_SENSOR
217 void setup()
override;
220 void loop()
override;
226 void set_offset(
float offset_x,
float offset_y,
float offset_z);
230 void set_transform(
bool mirror_x,
bool mirror_y,
bool mirror_z,
bool swap_xy);
232#ifdef USE_BINARY_SENSOR
239 SUB_SENSOR(acceleration_x)
240 SUB_SENSOR(acceleration_y)
241 SUB_SENSOR(acceleration_z)
244#ifdef USE_TEXT_SENSOR
245 SUB_TEXT_SENSOR(orientation_xy)
246 SUB_TEXT_SENSOR(orientation_z)
291 void setup_offset_(
float offset_x,
float offset_y,
float offset_z);
This class simplifies creating components that periodically check a state.
This Class provides the methods to read/write bytes from/to an i2c device.
void set_model(Model model)
void process_motions_(RegMotionInterrupt old)
Trigger orientation_trigger_
Trigger double_tap_trigger_
void set_resolution(Resolution resolution)
void set_bandwidth(Bandwidth bandwidth)
int64_t twos_complement_(uint64_t value, uint8_t bits)
void setup_odr_(DataRate rate)
Trigger * get_freefall_trigger()
bool read_motion_status_()
RegOrientationStatus orientation_old
uint32_t last_double_tap_ms
void setup_range_resolution_(Range range, Resolution resolution)
Trigger freefall_trigger_
Trigger * get_double_tap_trigger()
void setup_offset_(float offset_x, float offset_y, float offset_z)
void dump_config() override
struct esphome::msa3xx::MSA3xxComponent::@135 data_
struct esphome::msa3xx::MSA3xxComponent::@136 status_
RegMotionInterrupt motion_int
void setup_power_mode_bandwidth_(PowerMode power_mode, Bandwidth bandwidth)
RegOrientationStatus orientation
Trigger * get_active_trigger()
float get_setup_priority() const override
struct esphome::msa3xx::MSA3xxComponent::@134 device_params_
Trigger * get_orientation_trigger()
SUB_BINARY_SENSOR(tap) SUB_BINARY_SENSOR(double_tap) SUB_BINARY_SENSOR(active) SUB_SENSOR(acceleration_x) SUB_SENSOR(acceleration_y) SUB_SENSOR(acceleration_z) SUB_TEXT_SENSOR(orientation_xy) SUB_TEXT_SENSOR(orientation_z) Trigger<> *get_tap_trigger()
void set_transform(bool mirror_x, bool mirror_y, bool mirror_z, bool swap_xy)
void set_range(Range range)
void set_offset(float offset_x, float offset_y, float offset_z)
struct @67::@68 __attribute__
@ RESOLUTION_RANGE_CONFIG
Providing packet encoding functions for exchanging data with a remote host.
bool single_tap_interrupt
bool double_tap_interrupt
bool orientation_interrupt
Bandwidth low_power_bandwidth