Port of TI's CC3100 Websock camera demo. Using FreeRTOS, mbedTLS, also parts of Arducam for cams ov5642 and 0v2640. Can also use MT9D111. Work in progress. Be warned some parts maybe a bit flacky. This is for Seeed Arch max only, for an M3, see the demo for CM3 using the 0v5642 aducam mini.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Mt9d111

Mt9d111

Functions

int CameraSensorInit ()
 This function initilizes the camera sensor.
int StartSensorInJpegMode (int width, int height)
 This function configures the sensor in JPEG mode.
int CameraSensorResolution (int width, int height)
 This function configures the sensor ouput resolution.
static int RegLstWrite (s_RegList *pRegLst, unsigned int ulNofItems)
 This function implements the Register Write in MT9D111 sensor.

Function Documentation

int CameraSensorInit (  )

This function initilizes the camera sensor.

Parameters:
None
Returns:
0 - Success -1 - Error

Definition at line 500 of file mt9d111.cpp.

int CameraSensorResolution ( int  width,
int  height 
)

This function configures the sensor ouput resolution.

Parameters:
[in]width- X-Axis
[in]height- Y-Axis
Returns:
0 - Success -1 - Error

Definition at line 591 of file mt9d111.cpp.

static int RegLstWrite ( s_RegList *  pRegLst,
unsigned int  ulNofItems 
) [static]

This function implements the Register Write in MT9D111 sensor.

Register List No. Of Items

Returns:
0 - Success -1 - Error

Definition at line 630 of file mt9d111.cpp.

int StartSensorInJpegMode ( int  width,
int  height 
)

This function configures the sensor in JPEG mode.

Configures sensor in JPEG mode.

Parameters:
[in]width- X-Axis
[in]height- Y-Axis
Returns:
0 - Success -1 - Error

Definition at line 543 of file mt9d111.cpp.