MAS7.1 Supplemental Guide, Rev 1.1, 9/28/07
17
MAS7.1 Command Reference
‘PSM’ Primary / Secondary Mapping (Continued)
Where ‘
flags’
is a bitmapped parameter defined as:
DA - Digital audio
AA - Analog audio (Stereo)
MA - Multichannel audio (5.1)
HD - HDMI video
This command uses a bitmapped parameter. See:
.
Each bit represents the mapping for one channel, as defined in the above table.
If a bit is set to a one, the corresponding channel is mapped to the primary selection buttons.
If a bit is set to a one, the corresponding channel is mapped to the primary selection buttons.
The ‘Decimal Value’ in the table’s header, refers to the values added together to create the decimal parameter
used by the command. For instances if you only wanted the ‘MA’ and ‘AA’ to be considered part of the primary
selection, then only those bits would be set to one, and the rest of the bits set to zero. The parameter value
would be calculated as: 4+2, making the parameter value: 6.
The command to map only the ‘MA’ and the ‘AA’ channels to the primary buttons, and to backup the new set-
tings in EEPROM, would be:
PSM 6,$
If the settings are changed, but the ‘$’ suffix is not used, the new settings will not be restored after a power fail-
ure. The ‘$’ suffix is used to backup the new settings in EEPROM, which will be restored after a power failure.
‘‘Q’ Query Status (*)
In the Master / Slave mode of operation, (see:
The Master / Slave Mode of Operation
), this com-
mand is used to poll for any pending state changes that are waiting to be read. By issuing this command and
testing the returned bitmapped value, the controller can determine what has changed in the MAS7.1 since the
last time it was polled.
This command allows the controller to quickly poll the MAS7.1, using only one command, instead of issuing a
string of commands to check if the power state has changed, or if a new input has been selected, a button
pressed, etc. The Query Status command is used to determine if anything has changed, and then based on the
results of the Query Status, only the query commands needed are issued to read the new states of the
MAS7.1.
Once the new state is read by issuing the proper query command, the associated flag will be reset.
Q ?
Query for current flag values
Response String:
=Q
flags
Decimal Value
+128
+64
+32
+16
+8
+4
+2
+1
Bit Position
7
Connector Name
HD
MA
AA
DA
Factory Setting
0
0
0
0
0
1
0
0