Get all Multipurpose IO (MIO) channel states
Get the current state of all Multipurpose IO (MIO) hardware channels including aliases, configuration, and pin values. MIO channels provide configurable input/output functionality for external hardware integration.
MIO Channel Availability
The availability of MIO channels is determined by the sensor’s mio_applications configuration. Each entry selects an application (intent), protocol, pin(s), and optional drive mode. Legacy mio_functions and multipurpose_io_mode fields are migrated automatically on load.
-
Channel 0 (SYNC_PULSE_IN): Available when not assigned by a
TIME_SYNC_INPUT/PPSapplication. -
Channel 1 (MULTIPURPOSE_IO): Available when not assigned by another
mio_applicationsentry. General-purpose runtime control requires aGENERAL_PURPOSE_IO/GPIOapplication on that pin.
Response
Input pin states as a binary bitmask (read-only). The least significant bit (LSB) maps to MIO0, with each subsequent bit mapping to higher channel indices.
MIO enable states as a binary bitmask. Indicates which channels are enabled for MIO operation. The least significant bit (LSB) maps to MIO0, with each subsequent bit mapping to higher channel indices.
Per-channel detailed information

