11.6.12 Event Capture 0 Control Register

Name: EC0CTRL
Address: 0x0200

Bit 3130292827262524 
  
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
  
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 MAX[3:0]EDGE[1] 
Access R/WR/WR/WR/WR/WROROR/W 
Reset 00000000 
Bit 76543210 
 EDGE[0]SRC[2:0]CLRDAEN 
Access R/WR/WR/WR/WW1SR/WROR/W 
Reset 00000000 

Bits 14:11 – MAX[3:0] Maximum number of captured timestamps

This is the maximum number of time stamps that can be captured by this event capture unit. When this unit is in use, this value must be greater than 0. Once this number is reached, timestamps must be read before any new timestamps will be captured; should another capture be triggered before a timestamp is read, an overflow condition will occur and the newest value will be lost.
DANGER: This value shall not be changed if any of the timestamp units are enabled. Data corruption can occur.
Warning: The sum of all MAX values in all Timestamp control registers must not exceed 16.
ValueDescription
0Only valid when this event capture unit is disabled.
1-FMaximum number of time stamps allocated to this event capture unit.

Bits 8:7 – EDGE[1:0] Capture Edge Selection

Warning: This value can only be changed when disabled.
ValueDescription
00Capture on rising edge
01Capture on falling edge
10Capture on both edges
11Reserved

Bits 6:4 – SRC[2:0] Capture Signal Source

Warning: This value can only be changed when disabled.
ValueDescription
000Receive pattern match from PHY
001Transmit pattern match from PHY
010DIOA0 input
011DIOA1 input
100DIOA2 input
101DIOA3 input
110-111Reserved

Bit 3 – CLR Clear event capture unit

Writing a 1 to this bit will reset this event capture status and stored timestamps. Control settings will not change.
ValueDescription
0No effect
1Reset this event capture unit.

Bit 1 – DA Data Available

ValueDescription
0This capture unit has no timestamps available to be read.
1This capture unit has timestamps available to be read.

Bit 0 – EN Event Capture Unit Enable

ValueDescription
0This event capture unit is disabled.
1This event capture unit is enabled.