Timer; Timer Usage; Timer Status - Photon Focus Luxima MV4-D1280-L01-G2 User Manual

Cmos camera series with gige interface
Table of Contents

Advertisement

6 i m e r
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
A c t i v a t i o n
T i m e r
R i s i n g
E d g e
T r i g g e r
F a l l i n g
E d g e
B o t h
E d g e s
T i m e r R e s e t ( )
T i m e r S t a t u s
T i m e r A c t i v e
6 i m e r V a l u e
T i m e r S t a r t
T i m e r S t a r t V a l u e
T i m e r E n d
T i m e r D e l a y
T i m e r D u r a t i o n
5.2 Timer
49 of 151

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents