|addr||-||IIC address of the specified GPM.|
|dir||-||State bits for the digital IO pins configured as outputs.|
This routine sets the output state bits of the digital IO pins that have been configured as outputs on a GPM. The lower 4 bits are the output state bits. Setting a bit makes the corresponding pin high. Clearing a bit makes the corresponding pin low. See the documentation for the GPS Module for more details regarding GPM registers and functions.
This routine is defined as a macro that calls the aI2C_WriteChar routine.
aGPM_SetPortBits((unsigned char)0xD0, 0x03);
This would turn on digital outputs 0 and 1 and turn off digital outputs 2 and 3 on the GPM.