6.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 6.2: Timer Structure
6.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. 6.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 8) 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
6.2.3).
6.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 6.2.5), a software timer
reset command starts the timer immediately (see Section 6.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.
6.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 6.2.4)
MAN093 08/2021 V1.1
49 of 143
Summary of Contents for MV4 Series
Page 8: ...CONTENTS 8 of 143 MAN093 08 2021 V1 1 ...
Page 12: ...1 Preface 12 of 143 MAN093 08 2021 V1 1 ...
Page 40: ...4 Image Acquisition 40 of 143 MAN093 08 2021 V1 1 ...
Page 42: ...5 Exposure Control 42 of 143 MAN093 08 2021 V1 1 ...
Page 52: ...6 Counter Timer 52 of 143 MAN093 08 2021 V1 1 ...
Page 64: ...10 Image Format Control 64 of 143 MAN093 08 2021 V1 1 ...
Page 66: ...11 Frame Rate 66 of 143 MAN093 08 2021 V1 1 ...
Page 82: ...12 Pixel Data Processing 82 of 143 MAN093 08 2021 V1 1 ...
Page 92: ...12 Pixel Data Processing 92 of 143 MAN093 08 2021 V1 1 ...
Page 96: ...13 Precautions 96 of 143 MAN093 08 2021 V1 1 ...
Page 120: ...16 Troubleshooting 120 of 143 MAN093 08 2021 V1 1 ...
Page 126: ...19 Support and Repair 126 of 143 MAN093 08 2021 V1 1 ...
Page 128: ...20 References 128 of 143 MAN093 08 2021 V1 1 ...