11.6.12 Event Capture 0 Control Register
Name: | EC0CTRL |
Address: | 0x0200 |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
MAX[3:0] | EDGE[1] | ||||||||
Access | R/W | R/W | R/W | R/W | R/W | RO | RO | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
EDGE[0] | SRC[2:0] | CLR | DA | EN | |||||
Access | R/W | R/W | R/W | R/W | W1S | R/W | RO | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 14:11 – MAX[3:0] Maximum number of captured timestamps
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.
Value | Description |
---|---|
0 | Only valid when this event capture unit is disabled. |
1-F | Maximum 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.
Value | Description |
---|---|
00 | Capture on rising edge |
01 | Capture on falling edge |
10 | Capture on both edges |
11 | Reserved |
Bits 6:4 – SRC[2:0] Capture Signal Source
Warning: This value can only be changed when disabled.
Value | Description |
---|---|
000 | Receive pattern match from PHY |
001 | Transmit pattern match from PHY |
010 | DIOA0 input |
011 | DIOA1 input |
100 | DIOA2 input |
101 | DIOA3 input |
110-111 | Reserved |
Bit 3 – CLR Clear event capture unit
Value | Description |
---|---|
0 | No effect |
1 | Reset this event capture unit. |
Bit 1 – DA Data Available
Value | Description |
---|---|
0 | This capture unit has no timestamps available to be read. |
1 | This capture unit has timestamps available to be read. |
Bit 0 – EN Event Capture Unit Enable
Value | Description |
---|---|
0 | This event capture unit is disabled. |
1 | This event capture unit is enabled. |