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 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_modeis set toTIME_FROM_SYNC_PULSE_IN. In this mode, it is not available as a general-purpose MIO. To enable it for general use, settimestamp_modeto a different value (e.g.,TIME_FROM_INTERNAL_OSCorTIME_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 whenmultipurpose_io_modeis set toOFF. In all other modes (e.g.,INPUT_NMEA_UART,OUTPUT_FROM_SYNC_PULSE_IN), it is reserved for its specific function.
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

