Toshiba teli DU1207MCG Instruction Manual page 66

Du series cmos camera
Hide thumbs Also See for DU1207MCG:
Table of Contents

Advertisement

Register access API
Control PixelFormat by accessing IIDC2 registers directly.
 PixelCoding/PixelSize
To determine PixelFormat combination of 'PixelCoding' and 'PixelSize' register.
1. Write to 'Value' field of 'PixelCoding' register.
2. Write to 'Value' field of 'PixelSize' register.
uint32_t coding = 0; // Mono
uint32_t size = 10; // Bpp10
// 1.Select a pixel coding.
Cam_WriteReg(s_hCam, 0x2020DC, 1, &coding);
// 2.Select a pixel size.
Cam_WriteReg(s_hCam, 0x2020FC, 1, &size);
 PixelFormat
Write to 'Value' field of 'PixelFormat' register.
uint32_t format = 3; // Mono10
// 1.Select a pixel format.
Cam_WriteReg(s_hCam, 0x20241C, 1, &format);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
● Note
Changing 'PixelFormat' register value is invalid during image stream data output.
Copyright © 2017 TOSHIBA TELI CORPORATION, All rights reserved.
API name
Cam_ReadReg
Cam_WriteReg
65 / 179
Description
Read register value
Write register value
http://www.toshiba-teli.co.jp/en/
D4267042B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Du1207mgDu1207mcf

Table of Contents