vi
11.4.4 Switching between Watchdog Timer Mode and Interval Timer Mode................ 232
11.4.5 Detection of Program Runaway............................................................................ 232
Section 12 Serial Communication Interface
................................................................. 233
12.1
Overview............................................................................................................................ 233
12.1.1 Features................................................................................................................. 233
12.1.2 Block Diagram...................................................................................................... 234
12.1.3 Input and Output Pins........................................................................................... 235
12.1.4 Register Configuration.......................................................................................... 236
12.2
Register Descriptions......................................................................................................... 237
12.2.1 Receive Shift Register (RSR)............................................................................... 237
12.2.2 Receive Data Register (RDR)............................................................................... 237
12.2.3 Transmit Shift Register (TSR).............................................................................. 237
12.2.4 Transmit Data Register (TDR).............................................................................. 238
12.2.5 Serial Mode Register (SMR)................................................................................ 238
12.2.6 Serial Control Register (SCR).............................................................................. 240
12.2.7 Serial Status Register (SSR)................................................................................. 243
12.2.8 Bit Rate Register (BRR)....................................................................................... 246
12.2.9 Serial/Timer Control Register (STCR)................................................................. 256
12.3
Operation............................................................................................................................ 257
12.3.1 Overview............................................................................................................... 257
12.3.2 Asynchronous Mode............................................................................................. 259
12.3.3 Synchronous Mode............................................................................................... 272
12.4
Interrupts............................................................................................................................ 278
12.5
Application Notes.............................................................................................................. 278
Section 13 I
2
C Bus Interface (H8/3337 Series Only) [Option]
.............................. 281
13.1 Overview............................................................................................................................ 281
13.1.1 Features................................................................................................................. 281
13.1.2 Block Diagram...................................................................................................... 283
13.1.3 Input/Output Pins.................................................................................................. 284
13.1.4 Register Configuration.......................................................................................... 284
13.2 Register Descriptions......................................................................................................... 285
13.2.1 I
2
C Bus Data Register (ICDR).............................................................................. 285
13.2.2 Slave Address Register (SAR).............................................................................. 285
13.2.3 I
2
C Bus Mode Register (ICMR)............................................................................ 286
13.2.4 I
2
C Bus Control Register (ICCR).......................................................................... 287
13.2.5 I
2
C Bus Status Register (ICSR)............................................................................ 290
13.2.6 Serial/Timer Control Register (STCR)................................................................. 294
13.3 Operation............................................................................................................................ 295
13.3.1 I
2
C Bus Data Format............................................................................................. 295
13.3.2 Master Transmit Operation................................................................................... 296
13.3.3 Master Receive Operation .................................................................................... 298