117 / 172
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4289451A
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 = 125000)
// TimerDuration = 2000.0[us] (Raw value = 250000)
// TimerTriggersource = "ExposureStart"
uint32_t uiTimerDelayRaw = 125000;
uint32_t uiTimerDurationRaw = 250000;
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
Raw Value
Absolute (Float) Value
Minimum
0
0 [us]
Maximum
250000000
2000000 [us]
Initial Value
0
0.00 [us]
Formula
Absolute Value [us] = Raw Value / 125
● 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].