2-2 programmable timer registers – Panasonic MN101C77C User Manual

Page 303

Advertising
background image

VIII - 5

Chapter 8 Time Base Timer / 8-bit Free-running Timer

Control Registers

„

Timer 6 Binary Counter (TM6BC)

„

Timer 6 Compare Register (TM6OC)

Figure 8-2-1 Timer 6 Binary Counter (TM6BC : x'03F68', R)

7

6

5

4

3

2

1

0

( At reset : X X X X X X X X )

TM6BC

TM6BC7 TM6BC6 TM6BC5 TM6BC4 TM6BC3 TM6BC2 TM6BC1 TM6BC0

8-2-2

Programmable Timer Registers

Timer 6 is a 8-bit programmable counter.

Programmable counter consists of compare register (TM6OC) and binary counter (TM6BC).

Binary counter is a 8-bit up counter. When the TM6CLRS flag of the timer 6 mode register (TM6MD) is

"0" and the interrupt cycle data is written to the compare register (TM6OC), the timer 6 binary counter

(TM6BC) is cleared to x'00'.

7

6

5

4

3

2

1

0

( At reset : X X X X X X X X )

TM6OC

TM6OC7 TM6OC6 TM6OC5 TM6OC4 TM6OC3 TM6OC2 TM6OC1 TM6OC0

Figure 8-2-2 Timer 6 Compare Register (TM6OC : x'03F69', R/W)

„

Time Base Timer Clear Control Register (TBCLR)

Figure 8-2-3 Time Base Timer Clear Control Register (TBCLR : x'03F6B')

Time base timer cannot stop counting but the software can reset its operation. Time base timer can be

cleared by writing an arbitrary value to the time base timer clear control register (TBCLR).

7

6

5

4

3

2

1

0

(For writing only)

TBCLR

-

-

-

-

-

-

-

-

Advertising
This manual is related to the following products: