X90 mobile modules
X90 mobile system User's manual V 1.20 - Translation of the original manual
69
5.2.1.12.6.4 Edge detection - Selection of slave edge
Name:
cfgEdgeDetectSlaveUnit01 to cfgEdgeDetectSlaveUnit08
These registers select the source of the slave edge for the respective edge detection unit. Either the rising or falling
edge of one of the 8 high-speed digital input channels can be selected. Only one edge can be selected for each
edge detection unit.
Data type
Values
Information
0
Rising edge on channel 1
1
Falling edge on channel 1
2
Rising edge on channel 2
3
Falling edge on channel 2
...
...
14
Rising edge on channel 8
15
Falling edge on channel 8
USINT
255
Disabled
5.2.1.12.6.5 Edge detection - Timestamp
Name:
MasterTime01 to MasterTime08
SlaveTime01 to SlaveTime08
The exact CPU system time of the respective edge detection unit is saved to registers MasterTime01 to Master-
Time08 when a master edge occurs. If multiple master edges occur within a single cycle (task class), then the
time of the last edge is shown.
The exact CPU system time of a possible previous slave edge is copied to registers SlaveTime01 to SlaveTime08
when a master edge occurs. If multiple slave edges occur before a master edge, then only the net time of the
last edge is stored.
Data type
Values
Information
DINT
-2,147,483,648
to 2,147,483,647
System time of the slave/master edge