.ifnz I2C_SUPPORT ************************************************************** Function : fProcessI2cRead Description : process I2C write function Input : IOP_DATA1_H=rCtrlByte,IOP_DATA1_L=rAddr Output : NONE ************************************************************** fProcessI2cRead: fetch parameter lda IOP_DATA1_H sta rCtrlByte lda IOP_DATA1_L sta rAddr jsr fI2cSendCmdAddr bcs lReadI2CFail