m2m_hw_i2c_conf

M2M_T_HW_I2C_RESULT m2m_hw_i2c_conf(UINT8 i2c_sda, UINT8 i2c_scl)

 

Description: the function configures an I2C port; refer to documents [2]/[5]/[7]/[9]/[10] and [3]/[6] to get GPIO pin information. 

 

Parameters:

i2c_sda:        is the sdaPin

i2c_scl:                  is the sclPin

 

To have information on sdaPin/sclPin see the AT command "AT#I2CWR=?" and "AT#I2CRD=?" described in document [3]/[6].

 

Return value:
         refer to M2M_T_HW_I2C_RESULT enum