11.07.2015 Views

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 6 16-BIT TIMER 906.1 Functions of 16-<strong>Bit</strong> Timer 9016-bit timer 90 has the following functions.• Timer interrupt• Timer output• Buzzer output• Count value capture(1) Timer interruptAn interrupt is generated when the count value and compare value match.(2) Timer outputTimer output can be controlled when the count value and compare value match.(3) Buzzer outputBuzzer output can be controlled by software.(4) Count value captureThe count value of 16-bit timer counter 90 (TM90) is latched into a capture register in synchronization withthe capture trigger and retained.6.2 Configuration of 16-<strong>Bit</strong> Timer 9016-bit timer 90 includes the following hardware.Table 6-1. Configuration of 16-<strong>Bit</strong> Timer 90ItemConfigurationTimer counterRegistersTimer outputsControl registers16 bits × 1 (TM90)Compare register: 16 bits × 1 (CR90)Capture register: 16 bits × 1 (TCP90)1 (TO90)16-bit timer mode control register 90 (TMC90)Buzzer output control register 90 (BZC90)Port mode register 3 (PM3)Port 3 (P3)82User’s Manual U14801EJ3V1<strong>UD</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!