108 / 160
Copyright © 2016-2018 TOSHIBA TELI CORPORATION, All Rights Reserved.
http://www.toshiba-teli.co.jp/en/index.htm
D4259344C
Register access API
Control TimerControl by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
TimerDelay/TimerDuration/TimerTriggerSource
1. Write to ‘Value’ field of ‘TimerDelay’ register.
2. Write to ‘Value’ field of ‘TimerDuration’ register.
3. Write to ‘Value’ field of ‘TimerTriggerSource’ register.
// TimerDelay = 1000.0[us] (Raw value = 25000)
// TimerDuration = 2000.0[us] (Raw value = 50000)
// TimerTriggersource = "ExposureStart"
uint32_t uiTimerDelayRaw = 25000;
uint32_t uiTimerDurationRaw = 50000;
uint32_t uiTimerTriggerSource = 124;
// Set Value
Cam_WriteReg(s_hCam, 0x20A05C, 1, &uiTimerDelayRaw);
Cam_WriteReg(s_hCam, 0x20A07C, 1, &uiTimerDurationRaw);
Cam_WriteReg(s_hCam, 0x21F27C, 1, &uiTimerTriggerSource);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Minimum / Maximum Value
TimerDelay / TimerDuration
Minimum
Raw Value
0
Absolute Value
0.00 [us]
Maximum
Raw Value
50000000
Absolute Value
2000000.00 [us]
Initial Value
Raw Value
0
Absolute Value
0.00 [us]
Formula
Absolute Value [us] = Raw Value / 25
● Note
‘TimerTriggerSource’ operation is as follows,
- Line0Active is available in Hardware Trigger mode, and to be responded to FrameTriggerError.
- FrameTrigger is available in both Hardware Trigger and Software Trigger mode, and not to be responded
to FrameTriggerError.
- ExposureStart is available in both Hardware Trigger and Software Trigger mode, and not to be responded
to FrameTriggerError. Timer0Active pulse delays TiggTimerDelay[us].