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 for general-purpose use is determined by the sensor's configuration settings. When a channel is used for a specific function (like time synchronization), it is not available for general MIO operations.
* __Channel 0 (SYNC_PULSE_IN):__ This channel is reserved for time synchronization when `timestamp_mode` is set to `TIME_FROM_SYNC_PULSE_IN`. In this mode, it is not available as a general-purpose MIO. To enable it for general use, set `timestamp_mode` to a different value (e.g., `TIME_FROM_INTERNAL_OSC` or `TIME_FROM_PTP_1588`).
* __Channel 1 (MULTIPURPOSE_IO):__ This channel's function is controlled by `multipurpose_io_mode`. It is available for general-purpose MIO use only when `multipurpose_io_mode` is set to `OFF`. In all other modes (e.g., `INPUT_NMEA_UART`, `OUTPUT_FROM_SYNC_PULSE_IN`), it is reserved for its specific function.
Response
Multipurpose IO hardware states for all channels
input_bitmaskuintRead-only
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.
enable_bitmaskuint
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.
channelslist of objects
Per-channel detailed information