zephyr/doc/hardware/peripherals/sensor/triggers.rst
Tom Burdick 9f85a70a04 doc: Revamp sensor docs
Docs now start at a high level, discussing sensors, attributes,
channels, and reading data from them.

Followed by more detailed usage guides in how to solve common problems
sensor users may run into.

Additionally renames the sensor_api sphinx tag to sensor

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2024-07-16 16:49:24 -04:00

14 lines
531 B
ReStructuredText

.. _sensor-trigger:
Sensor Triggers
###############
:dfn:`Triggers`, enumerated in :c:enum:`sensor_trigger_type`, are sensor
generated events. Typically sensors allow setting up these events to cause
digital line signaling for easy capture by a micro controller. The events can
then commonly be inspected by reading registers to determine which event caused
the digital line signaling to occur.
There are many kinds of triggers sensors provide, from informative ones such as
data ready to physical events such as taps or steps.