Precautions - Epson S1C63003 Technical Manual

Cmos 4-bit single chip microcontroller
Table of Contents

Advertisement

10 STOPWaTCh TiMeR
lCuRF: lap data carry-up request flag (FF4ah•D3) – S1C63004/008/016
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."
SWD[3:0]: 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."
SWD[7:4]: Stopwatch timer data 1/100 sec (FF4Ch)
Data (BCD) of the 1/100 sec column of the capture buffer can be read out. These 4 bits are read-only, and cannot
be used for writing operations. At initial reset, the timer data is set to "0."
SWD[11:8]: Stopwatch timer data 1/10 sec (FF4Dh)
Data (BCD) of the 1/10 sec column of the capture buffer can be read out. These 4 bits are read-only, and cannot
be used for writing operations. At initial reset, the timer data is set to "0."
Note: Be sure to data reading in the order of SWD[3:0] → SWD[7:4] → SWD[11:8].
10.9

Precautions

• The interrupt factor flag should be reset after resetting the stopwatch timer.
• Be sure to data reading in the order of SWD[3:0] → SWD[7:4] → SWD[11:8].
• When data that is held by a LAP input is read, read the capture buffer renewal flag CRNWF after reading the
SWD[11:8] and check whether the data has been renewed or not.
• When performing a processing such as a LAP input preceding with 1 Hz interrupt processing, read the LAP data
carry-up request flag LCURF before processing and check whether carry-up is needed or not.
10-10
Seiko epson Corporation
S1C63003/004/008/016 TeChniCal Manual
(Rev. 1.1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c63004S1c63008S1c63016

Table of Contents