® 16k CXP
31
UM 16k CXP – Indice E - 06/13
e2v semiconductors SAS 2013
6.2.5
Counters and Timers Control
Counters
CounterSelector
Select which counter to be configured
- Counter1,
- Counter2
All the following parameters are relative to the selection of the CounterSelector above
CounterTriggerSource
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
Select the type of activation for the trigger to start (reset) the counter :
0
: RisingEdge
1
: FallingEdge
2
: AnyEdge,
3
: LevelHigh
4
: LevelLow
CounterEventSource
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
21
: MissedTrigger
CounterEventActivation
Select the type of activation for the event that increment the counter :
0
: RisingEdge
1
: FallingEdge
2
: AnyEdge,
3
: LevelHigh
4
: LevelLow
CounterStatus
Get counter status :
0
: CounterIdle
1
: CounterTriggerWait
2
: CounterActive,
3
: CounterCompleted
4
: CounterOverflow
CounterDuration
Set the counter duration (or number of events) before CounterEnd event is generated
CounterReset
Reset the selected counter
CounterValue
Read the current value of the selected counter
CounterValueAtReset
Read the value of the selected counter, when the counter was reset by a trigger or by an
explicit CounterReset.