(3) Timer 4 mode register (TM4MD)

 

7

6

5

4

3

2

1

0

 

TM4MD

TM4EN

TM4PWM

T4ICTS1

T4ICTS0

TM4CK2

TM4CK1

TM4CK0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Chapter 4 Timer Functions

(at reset: -0000XXX)

TM4CK2

 

TM4CK1

 

TM4CK0

Clock source selection

 

 

0

0

fosc

 

 

1

fs/4

 

0

 

 

 

 

 

0

fs/16

 

 

1

 

 

1

TM4IO input

 

 

 

 

 

1

1

1

Synchronous TM4IO input

 

T4ICTS1

 

T4ICTS0

 

TM4 input capture trigger selection

 

 

 

 

0

 

0

 

Disable input capture operation

 

 

 

 

 

 

 

 

1

 

IRQ0

 

 

 

 

 

 

 

1

 

0

 

IRQ1

 

 

 

1

 

IRQ2

 

 

 

 

 

 

 

TM4PWM

 

TM4 operation mode selection

 

 

 

 

 

 

 

 

 

 

016-bit timer operation

1PWM operation

TM4EN

TM4 count control

 

 

0Halt the count

1Operate the count

Figure 4-9-15 Timer 4 Mode Register (TM4MD: X'03F84', R/W)

Timer Function Control Registers

87

Page 101
Image 101
Panasonic MN101C00 user manual Timer 4 mode register TM4MD, IRQ0 IRQ1 IRQ2 TM4PWM, TM4EN