Programming Manual

i480e&i480e-MD2 Programming Manual
32 / 139
4.29
I2SG
This command is used to read whether PIOs are set as inputs or outputs.
Command
AT+B I2SG
Response
AT-B I2SG [result]
Parameters
result
A 32 bit value. Each bit in the result value corresponds
to a PIO line. Bits set to 1 means that PIO line is
configured as an output. Bits set to 0 means it is
configured as an input.
Note
N/A
4.30
PIOSETMAP
This command is used to make usual function of chip pins behave as PIOs.
Command
AT+B PIOSETMAP [mask],[bits]
Response
AT-B PIOSETMAP [result]
Parameters
result
A 32 bit mask. If any bit in this mask is high then that
PIO could not be mapped or unmapped.
mask
Each bit in the mask corresponds to a PIO line. Bits set
to 1 in this mask will be modified. Bits set to 0 in this
mask will not be modified.
bits
Each bit corresponds to a PIO line. A bit set to 1 will
cause a (non-PIO) chip pin to be behave as the
corresponding PIO. A bit set to 0 will result in any
mapped pin being returned to its original function.
Note
For I50e the PIO lines map to other pins as follows:
(PIO 0-15) have no mapping. They are always PIO 0-15. They can be
configured as inputs or outputs.
(PIO 16) maps to PCM_DATA. This can be configured as an input or
an output.
(PIO 17) maps to PCM_SYNC. This can be configured as an input or
Barrot Confidential