® 16k CXP
58
UM 16k CXP – Indice E - 06/13
e2v semiconductors SAS 2013
11.7
Counters
Feature Name
CXP @
Size
bytes
Bit field Description
By default
CounterSelector
Not a register
Select which counter to configure {Counter1,
Counter2}
Counter1
CounterSelector = Counter1
CounterTriggerSource
[31-27] Select the signal that start (reset) the counter:
0
: Off
9
: ExposureStart
10
: ExposureEnd
11
: Line0
12
: Line1
13
: Line2
16
: Counter1End
17
: Counter2End
18
: Timer1End
19
: Timer2End
CounterTriggerActivation
[26-24] Select the type of activation for the trigger to
start (reset) the counter :
0
: RisingEdge
1
: FallingEdge
2
: AnyEdge,
3
: LevelHigh
4
: LevelLow
RisingEdge
CounterEventSource
[23-19] Select the event that will be the source to
increment the counter :
0
: Off
9
: ExposureStart
10
: ExposureEnd
11
: Line0
12
: Line1
13
: Line2
16
: Counter1End
17
: Counter2End
18
: Timer1End
19
: Timer2End
20
: TimeStampTick
21
: MissedTrigger
Off
CounterEventActivation
[18-16] Select the type of activation for the event that
increment the counter :
0
: RisingEdge
1
: FallingEdge
2
: AnyEdge,
3
: LevelHigh
4
: LevelLow
RisingEdge
CounterStatus
0x084B0
4
[15-13] Get counter status :
0
: CounterIdle
1
: CounterTriggerWait
2
: CounterActive,
3
: CounterCompleted
4
: CounterOverflow
CounterDuration
0x084B4
4
[31-0] Set the counter duration (or number of events)
before CounterEnd event is generated
100
CounterReset
0x084B8
4
Reset the selected counter
CounterValue
0x084BC
4
[31-0] Read the current value of the selected counter
CounterValueAtReset
0x084C0
4
[31-0] Read the value of the selected counter, when the
counter was reset by a trigger or by an explicit
CounterReset.