112 / 172
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4289451A
Register access API
Control AntiGlitch/AntiChattering by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
AntiGlitch/AntiChattering
1. Write to ‘Value’ field of ‘AntiGlitch’ register.
2. Write to ‘Value’ field of ‘AntiChattering’ register.
// AntiGlitch = 1.0[us] (Raw value = 100)
// AntiChattering = 10.0[us] (Raw value = 1250)
uint32_t uiAntiGlitchRaw = 100;
uint32_t uiAntiChatteringRaw = 1250;
// Set Value
Cam_WriteReg(s_hCam,
0x21F3DC
, 1, &uiAntiGlitchRaw);
Cam_WriteReg(s_hCam,
0x21F3FC
, 1, &uiAntiChatteringRaw);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Minimum/Maximum Value
AntiGlitch
Raw Value
Absolute (Float) Value
Minimum
9
0.09 [us]
Maximum
200000
2000 [us]
Initial Value
9
0.09 [us]
Formula
Absolute Value [us] = Raw Value / 100
AntiChattering
Raw Value
Absolute (Float) Value
Minimum
249
1.992 [us]
Maximum
249999
1999.992 [us]
Initial Value
249
1.992 [us]
Formula
Absolute Value [us] = Raw Value / 125