ix
13.2.6 Date Counter (RDAYCNT)..................................................................................................... 382
13.2.7 Month Counter (RMONCNT) ................................................................................................ 383
13.2.8 Year Counter (RYRCNT) ........................................................................................................ 383
13.2.9 Second Alarm Register (RSECAR).................................................................................... 384
13.2.10 Minute Alarm Register (RMINAR) .................................................................................... 384
13.2.11 Hour Alarm Register (RHRAR)............................................................................................ 385
13.2.12 Day of the Week Alarm Register (RWKAR) ................................................................ 385
13.2.13 Date Alarm Register (RDAYAR) ........................................................................................ 386
13.2.14 Month Alarm Register (RMONAR).................................................................................... 386
13.2.15 RTC Control Register 1 (RCR1).......................................................................................... 387
13.2.16 RTC Control Register 2 (RCR2).......................................................................................... 388
13.3
RTC Operation............................................................................................................................................... 390
13.3.1 Initial Settings of Registers after Power-On.................................................................... 390
13.3.2 Setting the Time........................................................................................................................... 390
13.3.3 Reading the Time ........................................................................................................................ 392
13.3.4 Alarm Function ............................................................................................................................. 393
13.3.5 Crystal Oscillator Circuit ......................................................................................................... 393
Section 14 Serial Communication Interface (SCI).................................................................... 395
14.1
Overview........................................................................................................................................................... 395
14.1.1 Features ............................................................................................................................................ 395
14.1.2 Block Diagram .............................................................................................................................. 396
14.1.3 Pin Configuration ......................................................................................................................... 399
14.1.4 Register Configuration............................................................................................................... 400
14.2
Register Descriptions.................................................................................................................................. 400
14.2.1 Receive Shift Register .............................................................................................................. 400
14.2.2 Receive Data Register .............................................................................................................. 400
14.2.3 Transmit Shift Register ............................................................................................................. 401
14.2.4 Transmit Data Register ............................................................................................................. 401
14.2.5 Serial Mode Register ................................................................................................................. 402
14.2.6 Serial Control Register.............................................................................................................. 404
14.2.7 Serial Status Register ................................................................................................................ 407
14.2.8 Port SC Control Register (SCPCR)/Port SC Data Register (SCPDR) ............. 411
14.2.9 Bit Rate Register (SCBRR)................................................................................................... 412
14.3
Operation .......................................................................................................................................................... 422
14.3.1 Overview .......................................................................................................................................... 422
14.3.2 Operation in Asynchronous Mode ........................................................................................ 424
14.3.3 Multiprocessor Communication ............................................................................................ 435
14.3.4 Clock Synchronous Operation................................................................................................ 443
14.4
SCI Interrupt Sources.................................................................................................................................. 453