
5.2 Timer
T
i m
e r
S
o
u
r
c
e
.
.
.
T i m
e r
T r i g g e r
T i m
e r A c t i v e
T i m
e r S t a r t
T i m
e r E n d
T
i m e r V a l u e
T i m e r S t a t u s
T i m e r D e l a y
T i m e r S t a r t V a l u e
T i m e r D u r a t i o n
T i m e r R e s e t ( )
A
c
t
i
v
a
t
i
o
n
R i s i n g E d g e
F a l l i n g E d g e
B o t h E d g e s
Figure 5.2: Timer Structure
5.2
Timer
Four general purpose timers are available in the camera (Timer0 ... Timer3). A timer can be
used to generate a timed pulse - for instances a strobe signal - or to generate an event after a
predetermined duration. Each timer can be configured individually by software and controlled
by timer trigger events. This section describes the configuration and the function of the timers.
Fig. 5.2 shows the structure of one timer. It contains a timer trigger source and activation
block. Furthermore it has three output signals: A timer active status signal, which is routed to
the I/O control block (see Chapter 7) and timer start and end event signals, which can be used
to trigger other blocks, like counter, timer, acquisition, frame or exposure control (see Section
5.2.3).
5.2.1
Timer Usage
Timer delay and timer duration value needs to be configured accordingly. When a timer trigger
source is selected the timer is waiting for a trigger signal. Once this trigger signal has been
received, the timer starts first with the timer delay period, if the timer delay value is > 0, and
counts then for the specified timer duration.
When the timer trigger source is set to off (see Section 5.2.5), a software timer
reset command starts the timer immediately (see Section 5.2.4).
The current timer value can be read via software. A start value can also be set, which means,
that the timer starts from this configured value instead from zero.
5.2.2
Timer Status
The timer has different states, which depends on the configuration and usage. The current
state can be read out by the register TimerStatus. The following list shows the available states:
Timer Idle
Timer is idle, and trigger source selection is set to off.
Timer Trigger Wait
Timer is waiting for a timer trigger signal.
Timer Delay
Timer is in timer delay count period.
Timer Active
Time is active and counts for the specified timer duration.
Timer Completed
Timer completed indicates, that the timer reached the timer duration count.
The timer remains in this state, until a new timer trigger event has been received, or the
timer is reset by a software command (see Section 5.2.4)
MAN094 03/2021 V1.0
47 of 139
Summary of Contents for MV8-D8424-G01-GT
Page 8: ...CONTENTS 8 of 139 MAN094 03 2021 V1 0...
Page 12: ...1 Preface 12 of 139 MAN094 03 2021 V1 0...
Page 40: ...4 Image Acquisition 40 of 139 MAN094 03 2021 V1 0...
Page 50: ...5 Counter Timer 50 of 139 MAN094 03 2021 V1 0...
Page 68: ...10 Frame Rate 68 of 139 MAN094 03 2021 V1 0...
Page 79: ...11 6 Binning MAN094 03 2021 V1 0 79 of 139...
Page 92: ...12 Precautions 92 of 139 MAN094 03 2021 V1 0...
Page 110: ...13 Hardware Interface 110 of 139 MAN094 03 2021 V1 0...
Page 116: ...15 Troubleshooting 116 of 139 MAN094 03 2021 V1 0...
Page 122: ...18 Support and Repair 122 of 139 MAN094 03 2021 V1 0...
Page 124: ...19 References 124 of 139 MAN094 03 2021 V1 0...
Page 128: ...A Pinouts 128 of 139 MAN094 03 2021 V1 0...