Application Notes
ArduCAM Camera Shield Software Application Note
www.ArduCAM.com
11
over I2C interface and sensor’s register is accessed with 16bit address and 16bit data.
6.13 byte wrSensorReg8_8(int regID, int regDat)
Param1: sensor internal register address
Param2: value to be written into the register
Return value: error status
wrSensorReg8_8 function is used to write a single sensor’s internal register over I2C
interface and sensor’s register is accessed with 8bit address and 8bit data.
6.14 byte wrSensorReg8_16(int regID, int regDat)
Param1: sensor internal register address
Param2: value to be written into the register
Return value: error status
wrSensorReg8_16 function is used to write a single sensor’s internal register over I2C
interface and sensor’s register is accessed with 8bit address and 16bit data.
6.15 byte wrSensorReg16_8(int regID, int regDat)
Param1: sensor internal register address
Param2: value to be written into the register
Return value: error status
wrSensorReg16_8 function is used to write a single sensor’s internal register over I2C
interface and sensor’s register is accessed with 16bit address and 8bit data.
6.16 byte wrSensorReg16_16(int regID, int regDat)
Param1: sensor internal register address
Param2: value to be written into the register
Return value: error status
wrSensorReg16_16 function is used to write a single sensor’s internal register over I2C
interface and sensor’s register is accessed with 16bit address and 16bit data.
6.17 byte rdSensorReg8_8(uint8_t regID, uint8_t* regDat)
Param1: sensor internal register address
Param2: value read from the register
Return value: error status
rdSensorReg8_8 function is used to read a single sensor’s internal register value over I2C
interface and sensor’s register is accessed with 8bit address and 8bit data.
6.18 byte rdSensorReg16_8(uint16_t regID, uint8_t* regDat)
Param1: sensor internal register address
Param2: value read from the register
Return value: error status
rdSensorReg16_8 function is used to read a single sensor’s internal register value over I2C
interface and sensor’s register is accessed with 16bit address and 8bit data.
6.19 byte rdSensorReg8_16(uint8_t regID, uint16_t* regDat)
Param1: sensor internal register address
Param2: value read from the register
Return value: error status
rdSensorReg8_16 function is used to read a single sensor’s internal register value over I2C
interface and sensor’s register is accessed with 8bit address and 8bit data.
6.20 byte rdSensorReg16_16(uint16_t regID, uint16_t* regDat)