![Marvell PXA300 Скачать руководство пользователя страница 408](http://html.mh-extra.com/html/marvell/pxa300/pxa300_developers-manual_1734615408.webp)
69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69r
lq62d-f714peg4 * Memec (Headquar
ters) - Unique
T
ech, Insight, Impact * UNDER ND
A# 12101050
MAR
VELL CONFIDENTIAL - UNA
UTHORIZED DISTRIB
UTION OR USE STRICTL
Y PR
OHIBITED
PXA300 Processor and PXA310 Processor
Vol. I: System and Timer Configuration Developers Manual
Doc. No. MV-TBD-00 Rev. A
CONFIDENTIAL
Copyright © 12/13/06 Marvell
Page 408
Document Classification: Proprietary Information
December 13, 2006
Not approved by Document Control. For review only.
13.6.11
Stopwatch Counter Register (SWCR)
SWCR, defined in
, contains the elapsed time of the stopwatch in hours, minutes, seconds, and
hundredths of a second.
SWCR increments only when the count-enable bit (RTSR[SWCE]) is set. While RTSR[SWCE] is set, the
counter continuously counts. When the counter reaches the maximum possible time (24 hours minus 1/100sec),
it reverts to zero and starts counting again.
SWCR can be programmed to be used as a stopwatch or to generate an interval interrupt.
This is a read/write register. Ignore reads from reserved bits. Write 0b0 to reserved bits.
13.6.12
Periodic Interrupt Counter Register (RTCPICR)
, contains the current count of the 1-kHz periodic interrupt counter and is
clocked on the positive edge of the 1-kHz clock. The RTCPICR increments only when the periodic interrupt
count enable bit (RTSR[PICE]) is set.
If RTSR[PICE] is disabled, the periodic interrupt counter stops incrementing at the value last reached. If
re-enabled, the counter resumes counting from the value it stopped at previously.
Whenever the RTCPICR equals the PIAR and RTSR[PIALE] is set, RTSR[PIAL] is set by the RTC controller
logic and the periodic interrupt counter rolls over to zero. This process repeats as long as RTSR[PICE] is set.
Whenever a new session (count started from zero) begins, the periodic interrupt counter must be reset to zero by
executing a write to the PIAR.
This is a read/write register. Ignore reads from reserved bits. Write 0b0 to reserved bits.
Table 13-15. SWCR Bit Definitions
Physical Address
0x4090_0028
SWCR
RTC Controller
User
Settings
Bit
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
HOURS
MINUTES
SECONDS
HUNDRETHS
Reset
?
?
?
?
?
?
?
?
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bits
Access
Name
Description
31:24
—
—
reserved
23:19
R/W
HOURS
Number of elapsed hours in the stopwatch counter
18:13
R/W
MINUTES
Number of elapsed minutes in the stopwatch counter
12:7
R/W
SECONDS
Number of elapsed seconds in the stopwatch counter
6:0
R/W
HUNDRETHS
Hundreths of a second in the stopwatch counter