User Manual

ArduCAM Camera Shield Software Application Note
www.ArduCAM.com
Param2: value read from the register
Return value: error status
rdSensorReg8_8 function is used to read a single sensors internal register value over I2C
interface and sensors 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 sensors internal register value over I2C
interface and sensors 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 sensors internal register value over I2C
interface and sensors register is accessed with 8bit address and 8bit data.
6.20 byte rdSensorReg16_16(uint16_t regID, uint16_t* regDat)
Param1: sensor internal register address
Param2: value read from the register
Return value: error status
rdSensorReg16_16 function is used to read a single sensors internal register value over I2C
interface and sensors register is accessed with 16bit address and 16bit data.
6.21 void OV2640_set_JPEG_size(uint8_t size)
Param1: resolution code
OV2640_set_JPEG_size function is used to set the desired resolution with JPEG format for
OV2640. Current support resolution is shown as follows:
#define OV2640_160x120 0 //160x120
#define OV2640_176x144 1 //176x144
#define OV2640_320x240 2 //320x240
#define OV2640_352x288 3 //352x288
#define OV2640_640x480 4 //640x480
#define OV2640_800x600 5 //800x600
#define OV2640_1024x768 6 //1024x768
#define OV2640_1280x1024 7 //1280x1024
#define OV2640_1600x1200 8 //1600x1200
6.22 void OV3640_set_JPEG_size(uint8_t size)
OV3640_set_JPEG_size function is used to set the desired resolution with JPEG format for
OV3640. Current support resolution is shown as follows:
#define OV3640_176x144 0 //176x144
#define OV3640_320x240 1 //320x240
#define OV3640_352x288 2 //352x288
#define OV3640_640x480 3 //640x480
#define OV3640_800x600 4 //800x600
#define OV3640_1024x768 5 //1024x768