SIC63616-(Rev. 1.0) NO. P96
3240-0412
4.8.9 Programming notes
(1) The interrupt factor flag should be reset after resetting the stopwatch timer.
(2) Be sure to data reading in the order of SWD0–3
→
SWD4–7
→
SWD8–11.
(3) When data that is held by a LAP input is read, read the capture buffer renewal flag CRNWF after read-
ing the SWD8–11 and check whether the data has been renewed or not.
(4) 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.
(5) 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.