
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)
MAN085 04/2021 V1.3
49 of 151
Summary of Contents for Luxima DR4-D1280-L01-FB
Page 8: ...CONTENTS 8 of 151 MAN085 04 2021 V1 3...
Page 12: ...1 Preface 12 of 151 MAN085 04 2021 V1 3...
Page 42: ...4 Image Acquisition 42 of 151 MAN085 04 2021 V1 3...
Page 52: ...5 Counter Timer 52 of 151 MAN085 04 2021 V1 3...
Page 84: ...12 Pixel Data Processing 84 of 151 MAN085 04 2021 V1 3...
Page 94: ...12 Pixel Data Processing 94 of 151 MAN085 04 2021 V1 3...
Page 98: ...13 Precautions 98 of 151 MAN085 04 2021 V1 3...
Page 128: ...16 Troubleshooting 128 of 151 MAN085 04 2021 V1 3...
Page 134: ...19 Support and Repair 134 of 151 MAN085 04 2021 V1 3...
Page 136: ...20 References 136 of 151 MAN085 04 2021 V1 3...
Page 140: ...A Pinouts 140 of 151 MAN085 04 2021 V1 3...