SIC63616-(Rev. 1.0) NO. P94
3240-0412
SWRUN: Stopwatch timer RUN/STOP (FF4AH•D1)
This register controls the RUN/STOP of the stopwatch timer, and the operating status can be monitored by
reading this register.
• When writing data
When "1" is written: RUN
When "0" is written: STOP
The stopwatch timer enters the RUN status when "1" is written to SWRUN, and the STOP status when "0"
is written. In the STOP status, the timer data is maintained until the next RUN status or resets timer. Also,
when the STOP status changes to the RUN status, the data that was maintained can be used for resuming
the count. RUN/STOP control with this register is valid only when the direct input function is set to
disable. When the direct input function is set, it becomes invalid.
• When reading data
When "1" is read:
RUN
When "0" is read:
STOP
Reading is always valid regardless of the direct input function setting. "1" is read when the stopwatch timer
is in the RUN status, and "0" is read in the STOP status.
At initial reset, this register is set to "0".
CRNWF: Capture renewal flag (FF4AH•D2)
This flag indicates that the content of the capture buffer has been renewed.
When "1" is read: Renewed
When "0" is read: Not renewed
Writing: Invalid
The content of the capture buffer is renewed if the LAP key is input when the data held into the capture
buffer has not yet been read. Reading SWD8–11 in that status sets this flag to "1", and the hold status is
maintained. Consequently, when data that is held by a LAP input is read, read this flag after reading the
SWD8–11 and check whether the data has been renewed or not.
This flag is renewed when SWD8–11 is read.
At initial reset, this flag is set to "0".
LCURF: Lap data carry-up request flag (FF4AH•D3)
This flag indicates a carry that has been generated to 1 sec-digit when the data is held. Note that this flag is
invalid when the direct input function is disabled.
When "1" is read: Carry is required
When "0" is read: Carry is not required
Writing: Invalid
If the capture buffer shifts into hold status while the 1 Hz interrupt factor flag ISW1 is set to "1", LCURF is
set to "1" to indicate that a carry-up to 1-sec digit is required. When performing a processing such as a LAP
input preceding with 1 Hz interrupt processing, read this flag before processing and check whether carry-
up is needed or not.
This flag is renewed (set/reset) every time the capture buffer shifts into hold status.
At initial reset, this flag is set to "0".
SWD0–SWD3: Stopwatch timer data 1/1,000 sec (FF4BH)
Data (BCD) of the 1/1,000 sec column of the capture buffer can be read out.
The hold function of the capture buffer works by reading this data.
These 4 bits are read-only, and cannot be used for writing operations.
At initial reset, the timer data is set to "0".