171CHAPTER 8 16-BIT TIMER/EVENT COUNTER8.1 Overview of theμPD78058F and 78058FY Subseries On-Chip TimersThis chapter describes the 16-bit timer/event counter and begins with an overview of the on-chip timers andrelated devices of theμPD78058F and 78058FY Subseries.(1) 16-bit timer/event counter (TM0)The TM0 can be used for an interval timer, PWM output, pulse widths measurement (infrared ray remote controlreceive function), external event counter, square wave output of any frequency or one-shot pulse output.(2) 8-bit timers/event counters 1 and 2 (TM1 and TM2)TM1 and TM2 can be used to serve as an interval timer and an external event counter and to output squarewaves with any selected frequency. Two 8-bit timer/event counters can be used as one 16-bit timer/eventcounter (See CHAPTER 9 8-BIT TIMER/EVENT COUNTER).(3) Watch timer (TM3)This timer can set a flag every 0.5 sec. and simultaneously generates interrupts request at the preset timeintervals (See CHAPTER 10 WATCH TIMER).(4) Watchdog timer (WDTM)WDTM can perform the watchdog timer function or generate non-maskable interrupts, maskable interruptsrequest and RESET at the preset time intervals (See CHAPTER 11 WATCHDOG TIMER).(5) Clock output control circuitThis circuit supplies other devices with the divided main system clock and the subsystem clock (See CHAPTER12 CLOCK OUTPUT CONTROL CIRCUIT).(6) Buzzer output control circuitThis circuit outputs the buzzer frequency obtained by dividing the main system clock (See CHAPTER 13BUZZER OUTPUT CONTROL CIRCUIT).