Toshiba teli BU602M Instruction Manual page 55

Cmos camera
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 © 2018 – 2019 Toshiba Teli Corporation, All rights reserved.
API name
Cam_ReadReg
Cam_WriteReg
54 / 158
Description
Read register value
Write register value
D4285844D
http://www.toshiba-teli.co.jp/en/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bu seriesBu602mcBu602mcf

Table of Contents