2-3 timer mode registers – Panasonic MN101C77C User Manual

Page 224

Advertising
background image

Chapter 6 8-bit Timers

VI - 10

Control Registers

6-2-3

Timer Mode Registers

Timer mode register is readable/writable register that controls timers 0, 1, 4 and 5.

„

Timer 0 Mode Register (TM0MD)

Figure 6-2-9 Timer 0 Mode Register (TM0MD : x'03F54', R/W)

0

1

2

4

5

6

7

3

( At reset : - - 0 0 0 0 0 0 )

TM0MD

TM0CK0

TM0CK1

TM0CK2

TM0EN

TM0PWM

TM0MOD

-

-

0

1

Disable the count

Timer 0 count control

Enable the count

TM0EN

0

1

Normal timer operation

Timer 0 operation mode

PWM operation

TM0PWM

0

1

Normal timer operation

Pulse width
measurement control

Measure the pulse width of P22/IRQ2

TM0MOD

TM0CK2

-

0

TM0CK1

0

1

1

tm0psc

( prescaler output )

fx

Synchronous fx

Clock source

fosc

0

0

1

1

TM0IO input

Synchronous TM0IO input

0

1

TM0CK0

Advertising
This manual is related to the following products: