NEC uPD78056Y User Manual

Page 225

Advertising
background image

225

CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 1 AND 2

(2) 8-bit timer mode control register (TMC1)

This register enables/stops operation of 8-bit timer registers 1 and 2 and sets the operating mode of 8-bit timer

register 1 and 2.

TMC1 is set with a 1-bit or 8-bit memory manipulation instruction.

RESET input sets TMC1 to 00H.

Figure 9-5. 8-Bit Timer Mode Control Register 1 Format

Cautions 1. Switch the operating mode after stopping timer operation.

2. When used as 16-bit timer register, TCE1 should be used for control enable/stop.

<0>

<1>

2

3

4

5

6

7

Symbol

TCE1

FF49H

00H

R/W

Address

After Reset

R/W

TCE2

TMC12

0

0

0

0

0

TMC1

TCE1 8-Bit Timer Register 1 Operation Control

0

Operation stop (TM1 clear to 0)

1

Operation enable

TCE2 8-Bit Timer Register 2 Operation Control

Operation stop (TM2 clear to 0)

Operation enable

0

1

TMC12 Operating Mode Selection

8-Bit timer register

×

2 channel mode (TM1, TM2)

16-Bit timer register

×

1 channel mode (TMS)

0

1

Advertising