Panasonic MN101C77C, F77G user manual „Timer 4 Mode Register TM4MD, TM4EN, TM4MOD

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 226
Image 226

Chapter 6 8-bit Timers

„Timer 4 Mode Register (TM4MD)

TM4MD

7

-

6

5

4

3

2

1

0

 

 

-

TM4MOD

TM4PWM

TM4EN

TM4CK2

TM4CK1

TM4CK0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

TM4CK2 TM4CK1 TM4CK0 Clock source

0

fosc

-0

1tm4psc(Prescaler output)

0

 

0

fx

 

1

Synchronous fx

1

 

 

0

TM4IO input

1

 

 

1

Synchronous TM4IO input

 

 

TM4EN

Timer 4 count control

0Disable the count

1Enable the count

TM4PWM Timer 4 operation mode

0Normal timer operation

1PWM operation

TM4MOD

Pulse width measurement control

0Normal timer operation

1Measure the pulse width of P24/IRQ4

Figure 6-2-11 Timer 4 Mode Register (TM4MD : x'03F64', R/W)

VI - 12 Control Registers

Page 226
Image 226
Panasonic MN101C77C, F77G user manual „Timer 4 Mode Register TM4MD, TM4EN, TM4MOD