8
μ
PD17062
11.5
11.6
11.7
11.8
11.9
RETURNING CONTROL FROM INTERRUPT PROCESSING ROUTINE .....................................
INTERRUPT PROCESSING ROUTINE...........................................................................................
EXTERNAL INTERRUPTS (INT
NC
PIN, V
SYNC
PIN).......................................................................
INTERNAL INTERRUPT (TIMER, SERIAL INTERFACE) ..............................................................
MULTIPLE INTERRUPTS................................................................................................................
116
117
121
123
124
12. TIMER .......................................................................................................................................... 133
12.1
TIMER CONFIGURATION ..............................................................................................................
12.2
TIMER FUNCTIONS ........................................................................................................................
12.3
TIMER CARRY FLIP-FLOP (TIMER CARRY FF) ............................................................................
12.4
CAUTIONS IN USING THE TIMER CARRY FF.............................................................................
12.5
TIMER INTERRUPT.........................................................................................................................
12.6
CAUTIONS IN USING THE TIMER INTERRUPT..........................................................................
133
134
136
141
147
151
13. STANDBY .................................................................................................................................... 153
13.1
STANDBY BLOCK CONFIGURATION...........................................................................................
13.2
STANDBY FUNCTION ....................................................................................................................
13.3
DEVICE OPERATION MODE SPECIFIED AT THE CE PIN...........................................................
13.4
HALT FUNCTION ............................................................................................................................
13.5
CLOCK STOP FUNCTION...............................................................................................................
13.6
OPERATION OF THE DEVICE AT A HALT OR CLOCK STOP ....................................................
153
154
155
156
164
167
14. RESET .......................................................................................................................................... 171
14.1
RESET BLOCK CONFIGURATION.................................................................................................
14.2
RESET FUNCTION ..........................................................................................................................
14.3
CE RESET.........................................................................................................................................
14.4
POWER-ON RESET .........................................................................................................................
14.5
RELATIONSHIP BETWEEN CE RESET AND POWER-ON RESET ..............................................
14.6
POWER FAILURE DETECTION ......................................................................................................
171
172
173
177
180
184
15. GENERAL-PURPOSE PORT ....................................................................................................... 189
15.1
CONFIGURATION AND CLASSIFICATION OF GENERAL-PURPOSE PORT ............................
15.2
FUNCTIONS OF GENERAL-PURPOSE PORTS ............................................................................
15.3
GENERAL-PURPOSE I/O PORTS (P0A, P0B, P1B, P1C).............................................................
15.4
GENERAL-PURPOSE INPUT PORT (P0D) ....................................................................................
15.5
GENERAL-PURPOSE OUTPUT PORTS (P0C, P1A).....................................................................
189
191
194
198
199
16. SERIAL INTERFACE.................................................................................................................... 201
16.1
SERIAL INTERFACE MODE REGISTER ........................................................................................
16.2
CLOCK COUNTER...........................................................................................................................
16.3
STATUS REGISTER ........................................................................................................................
16.4
WAIT REGISTER .............................................................................................................................
16.5
PRESETTABLE SHIFT REGISTER (PSR) .......................................................................................
16.6
SERIAL INTERFACE INTERRUPT SOURCE REGISTER (SIO0IMD) ...........................................
16.7
SHIFT CLOCK FREQUENCY REGISTER (SIO0CK).......................................................................
201
206
207
209
214
215
216