vii
9.7
Asynchronous Event Counter (AEC)................................................................................. 237
9.7.1
Overview............................................................................................................... 237
9.7.2
Register Descriptions............................................................................................ 239
9.7.3
Operation .............................................................................................................. 244
9.7.4
Asynchronous Event Counter Operation Modes .................................................. 245
9.7.5
Application Notes ................................................................................................. 246
Section 10 Serial Communication Interface
................................................................. 247
10.1
Overview............................................................................................................................ 247
10.1.1 Features ................................................................................................................. 247
10.1.2 Block diagram....................................................................................................... 249
10.1.3 Pin configuration .................................................................................................. 250
10.1.4 Register configuration .......................................................................................... 250
10.2
Register Descriptions ......................................................................................................... 251
10.2.1 Receive shift register (RSR) ................................................................................. 251
10.2.2 Receive data register (RDR) ................................................................................. 251
10.2.3 Transmit shift register (TSR)................................................................................ 252
10.2.4 Transmit data register (TDR)................................................................................ 252
10.2.5 Serial mode register (SMR) .................................................................................. 253
10.2.6 Serial control register 3 (SCR3)............................................................................ 256
10.2.7 Serial status register (SSR) ................................................................................... 260
10.2.8 Bit rate register (BRR).......................................................................................... 264
10.2.9 Clock stop register 1 (CKSTPR1) ........................................................................ 268
10.2.10 Serial Port Control Register (SPCR) .................................................................... 269
10.3
Operation............................................................................................................................ 271
10.3.1 Overview............................................................................................................... 271
10.3.2 Operation in Asynchronous Mode........................................................................ 275
10.3.3 Operation in Synchronous Mode .......................................................................... 284
10.3.4 Multiprocessor Communication Function ............................................................ 291
10.4
Interrupts ............................................................................................................................ 298
10.5
Application Notes .............................................................................................................. 299
Section 11 14-Bit PWM
...................................................................................................... 305
11.1
Overview............................................................................................................................ 305
11.1.1 Features ................................................................................................................. 305
11.1.2 Block Diagram...................................................................................................... 305
11.1.3 Pin Configuration.................................................................................................. 306
11.1.4 Register Configuration.......................................................................................... 306
11.2
Register Descriptions ......................................................................................................... 307
11.2.1 PWM Control Register (PWCR) .......................................................................... 307
11.2.2 PWM Data Registers U and L (PWDRU, PWDRL) ............................................ 308
11.2.3 Clock Stop Register 2 (CKSTPR2) ...................................................................... 308