Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs, aon_timer] wkup_ctrl writes reset internal prescaler count #25904

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion hw/ip/aon_timer/data/aon_timer.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@
regwidth: "32",
registers: [
{ name: "WKUP_CTRL",
desc: "Wakeup Timer Control register",
desc: '''
Wakeup Timer Control register.
Each write to the register resets the internal prescaler count
'''
swaccess: "rw",
hwaccess: "hro",
async: "clk_aon_i",
Expand Down
5 changes: 3 additions & 2 deletions hw/ip/aon_timer/doc/registers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Name | Offset | Length | Description |
|:------------------------------------------------|:---------|---------:|:-----------------------------------------------|
| aon_timer.[`ALERT_TEST`](#alert_test) | 0x0 | 4 | Alert Test Register |
| aon_timer.[`WKUP_CTRL`](#wkup_ctrl) | 0x4 | 4 | Wakeup Timer Control register |
| aon_timer.[`WKUP_CTRL`](#wkup_ctrl) | 0x4 | 4 | Wakeup Timer Control register. |
| aon_timer.[`WKUP_THOLD_HI`](#wkup_thold_hi) | 0x8 | 4 | Wakeup Timer Threshold Register (bits 63 - 32) |
| aon_timer.[`WKUP_THOLD_LO`](#wkup_thold_lo) | 0xc | 4 | Wakeup Timer Threshold Register (bits 31 - 0) |
| aon_timer.[`WKUP_COUNT_HI`](#wkup_count_hi) | 0x10 | 4 | Wakeup Timer Count Register (bits 63 - 32) |
Expand Down Expand Up @@ -38,7 +38,8 @@ Alert Test Register
| 0 | wo | 0x0 | fatal_fault | Write 1 to trigger one alert event of this kind. |

## WKUP_CTRL
Wakeup Timer Control register
Wakeup Timer Control register.
Each write to the register resets the internal prescaler count
- Offset: `0x4`
- Reset default: `0x0`
- Reset mask: `0x1fff`
Expand Down
Loading