CameraC328
Dependents: CameraC328_TestProgram CameraC328_Thresholding Camera_TestProgram_2015 Camera_TestProgram_2015 ... more
Revision 5:5d2088c2433c, committed 2010-07-01
- Comitter:
- shintamainjp
- Date:
- Thu Jul 01 10:04:01 2010 +0000
- Parent:
- 4:ad06342d4b84
- Child:
- 6:4749dd1acdd1
- Commit message:
Changed in this revision
CameraC328.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/CameraC328.h Tue Jun 29 22:55:35 2010 +0000 +++ b/CameraC328.h Thu Jul 01 10:04:01 2010 +0000 @@ -11,9 +11,15 @@ #ifndef _CAMERA_C328_H_ #define _CAMERA_C328_H_ +/** + * C328-7640 Device Driver Class. + */ class CameraC328 { public: + /** + * Color type + */ enum ColorType { GrayScale2bit = 0x01, // 2bit for Y only GrayScale4bit = 0x02, // 4bit for Y only @@ -92,6 +98,11 @@ DataTypeJpegPreviewPicture = 0x05 }; + /** + * @param tx TX of UART. + * @param rx RX of UART. + * @param baud Baudrate of UART. (Default is Baud19200) + */ CameraC328(PinName tx, PinName rx, Baud baud = Baud19200); ~CameraC328();