SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
Address Offset | 0x0000 0000 | ||
Physical Address | 0x4848 4C00 | Instance | CPTS |
Description | CPTS revision | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REVISION |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | REVISION | CPTS revision value | R | 0x- |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0004 | ||
Physical Address | 0x4848 4C04 | Instance | CPTS |
Description | Time sync control register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | HW4_TS_PUSH_EN | HW3_TS_PUSH_EN | HW2_TS_PUSH_EN | HW1_TS_PUSH_EN | RESERVED | INT_TEST | CPTS_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:12 | RESERVED | R | 0x0 | |
11 | HW4_TS_PUSH_EN | Hardware push 4 enable | RW | 0x0 |
10 | HW3_TS_PUSH_EN | Hardware push 3 enable | RW | 0x0 |
9 | HW2_TS_PUSH_EN | Hardware push 2 enable | RW | 0x0 |
8 | HW1_TS_PUSH_EN | Hardware push 1 enable | RW | 0x0 |
7:2 | RESERVED | R | 0x0 | |
1 | INT_TEST | Interrupt Test - When set, this bit allows the raw interrupt to be written to facilitate interrupt test. | RW | 0x0 |
0 | CPTS_EN | Time Sync Enable - When disabled (cleared to zero), the RCLK domain is held in reset. 0 - Time Sync Disabled 1 - Time Sync Enabled | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 000C | ||
Physical Address | 0x4848 4C0C | Instance | CPTS |
Description | Time stamp event push register | ||
Type | W |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TS_PUSH |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:1 | RESERVED | R | 0x0 | |
0 | TS_PUSH | Time stamp event push - When a logic high is written to this bit a time stamp event is pushed onto the event FIFO. The time stamp value is the time of the write of this register, not the time of the event read. The time stamp value can then be read on interrupt via the event registers. Software should not push a second time stamp event onto the event FIFO until the first time stamp value has been read from the event FIFO (there should be only one time stamp event in the event FIFO at any given time). This bit is write only and always reads zero. | W | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0010 | ||
Physical Address | 0x4848 4C10 | Instance | CPTS |
Description | Time stamp load value register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TS_LOAD_VAL |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | TS_LOAD_VAL | Time Stamp Load Value - Writing the CPTS_TS_LOAD_EN[0] TS_LOAD_EN bit causes the value contained in this register to be written into the time stamp. The time stamp value is read by initiating a time stamp push event, not by reading this register. When reading this register, the value read is not the time stamp, but is the value that was last written to this register. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0014 | ||
Physical Address | 0x4848 4C14 | Instance | CPTS |
Description | Time stamp load enable register | ||
Type | W |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TS_LOAD_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:1 | RESERVED | R | 0x0 | |
0 | TS_LOAD_EN | Time Stamp Load - Writing a one to this bit enables the time stamp value to be written via the CPTS_TS_LOAD_VAL register. This feature is included for test purposes. This bit is write only. | W | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0020 | ||
Physical Address | 0x4848 4C20 | Instance | CPTS |
Description | Time sync interrupt status raw register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TS_PEND_RAW |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:1 | RESERVED | R | 0x0 | |
0 | TS_PEND_RAW | TS_PEND_RAW int read (before enable). Writable when CPTS_CONTROL[1] INT_TEST = 1. A one in this bit indicates that there is one or more events in the event FIFO. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0024 | ||
Physical Address | 0x4848 4C24 | Instance | CPTS |
Description | Time sync interrupt status masked register | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TS_PEND |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:1 | RESERVED | R | 0x0 | |
0 | TS_PEND | TS_PEND masked interrupt read (after enable). | R | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0028 | ||
Physical Address | 0x4848 4C28 | Instance | CPTS |
Description | Time sync interrupt enable register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TS_PEND_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:1 | RESERVED | R | 0x0 | |
0 | TS_PEND_EN | TS_PEND masked interrupt enable. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0030 | ||
Physical Address | 0x4848 4C30 | Instance | CPTS |
Description | Event interrupt pop register | ||
Type | W |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EVENT_POP |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:1 | RESERVED | R | 0x0 | |
0 | EVENT_POP | Event Pop - When a logic high is written to this bit an event is popped off the event FIFO. The event FIFO pop occurs as part of the interrupt process after the event has been read in the CPTS_EVENT_LOW and CPTS_EVENT_HIGH registers. Popping an event discards the event and causes the next event, if any, to be moved to the top of the FIFO ready to be read by software on interrupt. | W | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0034 | ||
Physical Address | 0x4848 4C34 | Instance | CPTS |
Description | Lower 32-bits of the event value | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIME_STAMP |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | TIME_STAMP | Time Stamp - The timestamp is valid for transmit, receive, and time stamp push event types. The timestamp value is not valid for counter roll event types. | R | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0038 | ||
Physical Address | 0x4848 4C38 | Instance | CPTS |
Description | Upper 32-bits of the event value | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PORT_NUMBER | EVENT_TYPE | MESSAGE_TYPE | SEQUENCE_ID |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:29 | RESERVED | R | 0x0 | |
28:24 | PORT_NUMBER | Port Number - indicates the port number of an ethernet event or the hardware push pin number (1 to 4). | R | 0x0 |
23:20 | EVENT_TYPE | Time Sync Event Type 0x0 - Time Stamp Push Event 0x1 - Time Stamp Rollover Event 0x2 - Time Stamp Half Rollover Event 0x3 - Hardware Time Stamp Push Event 0x4 - Ethernet Receive Event 0x5 - Ethernet Transmit Event | R | 0x0 |
19:16 | MESSAGE_TYPE | Message type - The message type value that was contained in an ethernet transmit or receive time sync packet. This field is valid only for ethernet transmit or receive events. | R | 0x0 |
15:0 | SEQUENCE_ID | Sequence ID - The 16-bit sequence id is the value that was contained in an ethernet transmit or receivetime sync packet. This field is valid only for ethernet transmit or receive events. | R | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |