113 / 177
Copyright © 2018 - 2020 Toshiba Teli Corporation, All rights reserved.
https://www.toshiba-teli.co.jp/en/
DAA00195C
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.00000009 [s]
Maximum
200000
0.002 [s]
Initial Value
9
0.00000009 [s]
Formula
Absolute Value [us] = Raw Value / 100000000
AntiChattering
Raw Value
Absolute (Float) Value
Minimum
249
0.000001992 [s]
Maximum
249999
0.001999992 [s]
Initial Value
249
0.000001992 [s]
Formula
Absolute Value [us] = Raw Value / 125000000