29.01.2013 Views

uPD780065 Subseries PUM - Renesas Electronics

uPD780065 Subseries PUM - Renesas Electronics

uPD780065 Subseries PUM - Renesas Electronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

6.3 16-Bit Timer/Event Counter Configuration<br />

106<br />

CHAPTER 6 16-BIT TIMER/EVENT COUNTER<br />

16-bit timer/event counter consists of the following hardware.<br />

Table 6-2. 16-Bit Timer/Event Counter Configuration<br />

Item Configuration<br />

Timer register 16 bits × 1 (TM0)<br />

Register Capture/compare register: 16 bits × 2 (CR00, CR01)<br />

Timer output 1 (TO0)<br />

Control register 16-bit timer mode control register 0 (TMC0)<br />

Capture/compare control register 0 (CRC0)<br />

16-bit timer output control register 0 (TOC0)<br />

Prescaler mode register 0 (PRM0)<br />

Port mode register 2 (PM2) Note<br />

Note See Block Diagram of Figure 4-3 P20 to P27.<br />

(1) 16-bit timer/counter 0 (TM0)<br />

TM0 is a 16-bit read-only register that counts count pulses.<br />

The counter is incremented in synchronization with the rising edge of an input clock. If the count value is read<br />

during operation, input of the count clock is temporarily stopped, and the count value at that point is read.<br />

The count value is reset to 0000H in the following cases:<br />

At RESET input<br />

If TMC03 and TMC02 are cleared<br />

If valid edge of TI00 is input in the clear & start mode by inputting valid edge of TI00<br />

If TM0 and CR00 coincide with each other in the clear & start mode on coincidence between TM0 and CR00<br />

OSPT is set in the one-shot pulse output mode<br />

Preliminary User’s Manual U13420EJ2V0UM00

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

Saved successfully!

Ooh no, something went wrong!