Figure 7.7-2 Settings For Counter Function (In 16-Bit Mode) - Fujitsu F2MC-8L Series Hardware Manual

8-bit microcontroller
Hide thumbs Also See for F2MC-8L Series:
Table of Contents

Advertisement

CHAPTER 7 8/16-BIT TIMER/COUNTER
In 16-bit mode
Figure 7.7-2 illustrates the settings required to use the counter function in 16-bit mode.
The operations of the counter function in 16-bit mode are the same as those of the interval timer
function (in 16-bit mode), except that the counter uses an external clock instead of an internal
clock.
180

Figure 7.7-2 Settings for Counter Function (in 16-bit Mode)

Bit 7
Bit 6
DDR3
×
×
T1CR
T1IF
T1IE
T1OS1 T1OS0 T1CS1 T1CS0 T1STP T1STR
T2CR
T2IF
T2IE
T2OS1 T2OS0 T2CS1 T2CS0 T2STP T2STR
×
×
T1DR
Lower 8 bits of counter value (to be compared) set
T2DR
Upper 8 bits of counter value (to be compared) set
Bit 5
Bit 4
Bit 3
Bit 2
×
×
0
1
0
0
1
Bit 1
Bit 0
×
×
×
1
1
×
×
1:Set to 1
: Used bit
× : Used bit
0 : Set "0".

Advertisement

Table of Contents
loading

Table of Contents