From 3c0828e51db8e382df4cb27110e3e6eeb9a5c005 Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Mon, 30 Jan 2023 10:50:48 +0100 Subject: [PATCH] Document using named timer_ctrl bits Signed-off-by: Daniel Lublin --- doc/system_description/software.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/system_description/software.md b/doc/system_description/software.md index 5cd86cb..aca9924 100644 --- a/doc/system_description/software.md +++ b/doc/system_description/software.md @@ -496,9 +496,10 @@ Assigned core prefixes: |-------------------|-------|-----------|--------|----------|-----------|-------------------------------------------------------------------------| | `TRNG_STATUS` | r | r | | | | TRNG_STATUS_READY_BIT is 1 when an entropy word is available. | | `TRNG_ENTROPY` | r | r | 4B | u32 | | Entropy word. Reading a word will clear status. | -| `TIMER_CTRL` | r/w | r/w | | | | If TIMER_STATUS_RUNNING_BIT in TIMER_STATUS is 0, setting bit 0 starts | -| | | | | | | starts the timer. If the TIMER_STATUS_RUNNING_BIT is 1, setting bit 1 | -| | | | | | | stops the timer. | +| `TIMER_CTRL` | r/w | r/w | | | | If TIMER_STATUS_RUNNING_BIT in TIMER_STATUS is 0, setting | +| | | | | | | TIMER_CTRL_START_BIT here starts the timer. | +| | | | | | | If TIMER_STATUS_RUNNING_BIT in TIMER_STATUS is 1, setting | +| | | | | | | TIMER_CTRL_STOP_BIT here stops the timer. | | `TIMER_STATUS` | r | r | | | | TIMER_STATUS_RUNNING_BIT is 1 when the timer is running. | | `TIMER_PRESCALER` | r/w | r/w | 4B | | | Prescaler init value. Write blocked when running. | | `TIMER_TIMER` | r/w | r/w | 4B | | | Timer init or current value while running. Write blocked when running. |