Datasheet
Index-6
7.3.14 Alarm hour register (ALARMWH) ................................................................................................. 300
7.3.15 Alarm week register (ALARMWW) ............................................................................................... 300
7.3.16 Port mode register 3 (PM3) .......................................................................................................... 301
7.3.17 Port register 3 (P3) ....................................................................................................................... 301
7.4 Real-time Clock Operation ........................................................................................................ 302
7.4.1 Starting operation of real-time clock ............................................................................................... 302
7.4.2 Shifting to HALT/STOP mode after starting operation .................................................................... 303
7.4.3 Reading/writing real-time clock ....................................................................................................... 304
7.4.4 Setting alarm of real-time clock ...................................................................................................... 306
7.4.5 1 Hz output of real-time clock ......................................................................................................... 307
7.4.6 Example of watch error correction of real-time clock ...................................................................... 308
CHAPTER 8 12-BIT INTERVAL TIMER ................................................................................................ 313
8.1 Functions of 12-bit Interval Timer ............................................................................................. 313
8.2 Configuration of 12-bit Interval Timer ...................................................................................... 313
8.3 Registers Controlling 12-bit Interval Timer.............................................................................. 313
8.3.1 Peripheral enable register 0 (PER0) ............................................................................................... 314
8.3.2 Subsystem clock supply mode control register (OSMC) ................................................................ 315
8.3.3 Interval timer control register (ITMC) .............................................................................................. 316
8.4 12-bit Interval Timer Operation ................................................................................................. 317
8.4.1 12-bit interval timer operation timing .............................................................................................. 317
8.4.2 Start of count operation and re-enter to HALT/STOP mode
after returned from HALT/STOP mode .......................................................................................... 318
CHAPTER 9 CLOCK OUTPUT/BUZZER OUTPUT CONTROLLER ................................................. 319
9.1 Functions of Clock Output/Buzzer Output Controller ............................................................ 319
9.2 Configuration of Clock Output/Buzzer Output Controller ...................................................... 321
9.3 Registers Controlling Clock Output/Buzzer Output Controller ............................................. 321
9.3.1 Peripheral enable register 0 (PER0) ............................................................................................... 322
9.3.2 Clock output select registers n (CKSn) ........................................................................................... 323
9.3.3 Port mode registers 5, 14 (PM5, PM14) ......................................................................................... 325
9.4 Operations of Clock Output/Buzzer Output Controller .......................................................... 326
9.4.1 Operation as output pin .................................................................................................................. 326
9.5 Cautions of clock output/buzzer output controller ................................................................. 326
CHAPTER 10 WATCHDOG TIMER ..................................................................................................... 327
10.1 Functions of Watchdog Timer ................................................................................................. 327
10.2 Configuration of Watchdog Timer .......................................................................................... 328
10.3 Register Controlling Watchdog Timer .................................................................................... 329
10.4 Operation of Watchdog Timer ................................................................................................. 330