Registers
LOADx
- Name: Dual-Timer Load Register
- Description: This register contains the value from which the counter is to decrease. This is the value used to reload the counter when periodic mode is enabled, and the current count reaches 0.
- Base Address: 0xA0002000
- Offset: 0x00 + x*0x20
- Reset Value: 0x00
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:0 | COUNT | RW | 0x0 | Reload value. Write to this register sets the current value. |
VALx
- Name: Dual-Timer Current Value Register
- Description: This register provides the current value of the decrementing counter.
- Base Address: 0xA0002000
- Offset: 0x04 + x*0x20
- Reset Value: 0xFFFFFFFF
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:0 | COUNT | RO | 0xFFFFFFFF | Current value |
CTRLx
- Name: Dual-Timer Control Register
- Description: The CTRL register enables the software to control the Dual-Timer unit.
- Base Address: 0xA0002000
- Offset: 0x08 + x*0x20
- Reset Value: 0x20
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:8 | RSVD | R | Reserved bits | |
7 | EN | RW | 0x0 |
Timer enable Value:
|
6 | MODE | RW | 0x0 |
Timer mode Value:
|
5 | INT_EN | RW | 0x1 |
Interrupt enable Value:
|
4 | RSVD | R | Reserved bits | |
3:2 | PRE | RW | 0x0 |
Prescale bits Value:
|
1 | SIZE | RW | 0x0 |
Select 16-bit or 32-bit counter operation Value:
|
0 | COUNT_MODE | RW | 0x0 |
Select Free-running or One-shot mode. Value:
|
INT_CLRx
- Name: Dual-Timer Interrupt Clear Register
- Description: Any write to the INT_CLRx register clears the interrupt output from the counter.
- Base Address: 0xA0002000
- Offset: 0x0C + x*0x20
- Reset Value:0x00
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:0 | STAT | WO | 0x0 | Clear the Dual-Timer interrupt event. |
INT_RSTATx
- Name: Dual-Timer Raw Interrupt Status Register
- Description: The INT_RSTATx register indicates the raw interrupt status from the counter.
- Base Address: 0xA0002000
- Offset: 0x10 + x*0x20
- Reset Value:0x00
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:1 | RSVD | R | Reserved bits | |
0 | STAT | RW | 0x0 | Raw interrupt status from the counter |
INT_STATx
- Name: Dual-Timer Interrupt Status Register
- Description: The INT_STATx register indicates the masked interrupt status from the counter.
- Base Address: 0xA0002000
- Offset: 0x14 + x*0x20
- Reset Value: 0x00
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:1 | RSVD | R | Reserved bits | |
0 | STAT | RW | 0x0 | Enable interrupt status from the counter. |