Chapter 4 Timer Functions

(4) Timer 5 mode register (TM5MD)

TM5MD

7 6 5

TM5CLRS TM5IR2 TM5IR1

4

3

2

1

0

TM5IR0

TM5CK3

TM5CK2

TM5CK1

TM5CK0

 

 

 

 

 

(at reset: 0XXXXXX0)

TM5CK0

0

1

Time base timer clock source selection

fosc

(Use Prohibited) fx *

* 48QFH package only

 

 

TM5CK3

TM5CK2

TM5CK1

Timer 5 clock source selection

 

 

 

 

 

 

 

 

X

0

0

fosc

 

 

1

fs/4

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

(Use Prohibited)

 

 

1

1

Output of time base timer

 

 

 

 

 

1

0

(Use Prohibited)

 

 

 

 

 

 

 

 

 

 

 

1

Synchronous time base timer output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TM5IR2

TM5IR1

TM5IR0

Time base timer

 

 

interrupt period selection

 

 

 

 

 

 

 

 

 

0

0

1/27 of the clock source

 

 

0

1

1/28 of the clock source

 

 

 

 

 

1

0

1/29 of the clock source

 

 

 

 

 

 

1

1/210 of the clock source

 

 

 

 

 

 

1

x

x

1/213 of the clock source

 

 

 

 

 

 

 

TM5CLRS

Binary counter 5

 

 

clear selection flag

 

 

 

 

 

 

 

 

 

 

 

0

 

Enable initialization of

 

 

 

TM5BC during a write to TM5OC

 

 

 

 

 

 

 

 

 

 

 

1

 

Disable initialization of

 

 

 

TM5BC during a write to TM5OC

 

 

 

 

 

 

 

 

 

 

If TM5CLRS=0, TM5IRQ is disabled.

Figure 4-9-16 Timer 5 Mode Register (TM5MD: X'03F88', R/W)

88 Timer Function Control Registers

Page 102
Image 102
Panasonic MN101C00 user manual Timer 5 mode register TM5MD, TM5CK0, TM5IR0, TM5CLRS