29.01.2013 Views

uPD789871 Subseries 8-Bit Single-Chip Microcontrollers PUM

uPD789871 Subseries 8-Bit Single-Chip Microcontrollers PUM

uPD789871 Subseries 8-Bit Single-Chip Microcontrollers PUM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.3 Registers Controlling 8-<strong>Bit</strong> Timer<br />

CHAPTER 7 8-BIT TIMER<br />

The following register is used to control the 8-bit timer.<br />

• 8-bit timer mode control registers 80 and 81 (TMC80 and TMC81)<br />

(1) 8-bit timer mode control register 80 (TMC80)<br />

This register enables/stops operation of 8-bit timer counter 80 (TM80) and sets the counter clock of 8-bit timer<br />

80.<br />

TMC80 is set with a 1-bit or 8-bit memory manipulation instruction.<br />

RESET input clears TMC80 to 00H.<br />

Figure 7-3. 8-<strong>Bit</strong> Timer Mode Control Register 80 Format<br />

Symbol 6 5 4 3 2 1 0 Address After reset R/W<br />

TMC80 TCE80 0 0 0 0 TCL801TCL800 0 FF53H 00H R/W<br />

TCE80<br />

0<br />

1<br />

TCL801 TCL800<br />

0<br />

0<br />

1<br />

1<br />

Operation stopped (TM80 cleared to 0)<br />

Operation enabled<br />

0<br />

1<br />

0<br />

1<br />

fX/2 2 (1.25 MHz)<br />

fX/2 4 (312.5 kHz)<br />

fX/2 6 (78.1 kHz)<br />

Setting prohibited<br />

8-bit timer counter 80 operation control<br />

8-bit timer 80 count clock selection<br />

Caution Be sure to set the count clock after the timer operation is stopped (TCE80 = 0).<br />

Refer to 7.4 8-<strong>Bit</strong> Timer Operation for details.<br />

Remarks 1. fX: Main system clock oscillation frequency<br />

2. The parenthesized values apply to operation at fX = 5.0 MHz.<br />

Preliminary User’s Manual U14938EJ1V0UM 83

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

Saved successfully!

Ooh no, something went wrong!