Registers
CTRL
- Name: Timer Control Register
- Description: The CTRL register enables the software to control the Timer unit.
- Base Address: 0xA0000000 + x*0x1000
- Offset: 0x0000
- Reset Value: 0x00
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:4 | RSVD | R | Reserved bits | |
3 | INT_EN | RW | 0x0 |
Timer interrupt enable Value:
|
2:1 | RSVD | R | Reserved bits | |
0 | EN | RW | 0x0 |
Disable the timer interrupt Value:
|
VAL
- Name: Timer Value Register
- Description: The VAL register indicates the current value of the decrementing counter.
- Base Address: 0xA0000000 + x*0x1000
- Offset: 0x04
- Reset Value: 0x00
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:0 | COUNT | RW | 0x0 | Current value |
RELOAD
- Name:Timer Reload Register
- Description: When this register is written to, the count is immediately restarted from the new value.
- Base Address: 0xA0000000 + x*0x1000
- Offset: 0x08
- Reset Value: 0x00
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:0 | COUNT | RW | 0x0 | Reload value. Write the current value to this register. |
INT_STAT
- Name: Timer Interrupt Status Register
- Description: The INT_STAT register indicates the interrupt status from the counter. Write 1 to this register to clear the timer interrupt flag.
- Base Address: 0xA0000000 + x*0x1000
- Offset: 0x0C
- Reset Value: 0x00000000
Bits | Field Name | RW | Reset | Description |
---|---|---|---|---|
31:1 | RSVD | R | Reserved bits | |
0 | STAT | RW | 0x0 | Timer interrupt. Write one to clear. |