SIC63616-(Rev. 1.0) NO. P95
3240-0412
SWD4–SWD7: 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".
SWD8–SWD11: 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 SWD0–3
→
SWD4–7
→
SWD8–11.
EIRUN, EILAP, EISW1, EISW10: Interrupt mask registers (FFEDH)
These registers are used to select whether to mask the stopwatch timer interrupt.
When "1" is written: Enabled
When "0" is written: Masked
Reading: Valid
The interrupt mask registers EIRUN, EILAP, EISW1 and EISW10 are used to separately select whether to
mask the direct RUN, direct LAP, 1 Hz and 10 Hz interrupts.
At initial reset, these registers are set to "0".
IRUN, ILAP, ISW1, ISW10: Interrupt factor flags (FFFDH)
These flags indicate the status of the stopwatch timer interrupt.
When "1" is read:
Interrupt has occurred
When "0" is read:
Interrupt has not occurred
When "1" is written: Flag reset
When "0" is written: Invalid
The interrupt factor flags IRUN, ILAP, ISW1 and ISW10 correspond to the direct RUN, direct LAP, 1 Hz and
10 Hz interrupts respectively. The software can judge from these flags whether there is a stopwatch timer
interrupt. However, even if the interrupt is masked, the flags are set to "1" when the timing condition is
established.
These flags are reset to "0" by writing "1" to them.
After an interrupt occurs, the same interrupt will occur again if the interrupt enabled state (I flag = "1") is
set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write
"1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state.
At initial reset, these flags are set to "0".
Содержание S1C63616
Страница 1: ...S1C63616 Technical Manual Rev 1 0 ...