150
CHAPTER 8 PULSE WIDTH COUNT TIMER (PWC)
8.3.2
PWC Pulse Width Control Register 2 (PCR2)
The PWC pulse width control register 2 (PCR2) is used to select the operating mode
(pulse width measurement or interval timer operation, etc.), select the count clock, set
the measured pulse (measurement edges), and check the timer output state of the pulse
width count timer.
■
PWC pulse width control register 2 (PCR2)
Figure 8.3-4 PWC pulse width control register 2 (PCR2)
Address
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Initial value
0015
H
FC
RM
TO
—
C1
C0
W1
W0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W1
W0
Measured pulse selection bits
Count clock selection bits
Reload mode selection bit
Operating mode selection bit
Timer output bit
Only applies to the pulse width measurement function (FC = "1").
0
0
High level
0
1
Low level
1
0
Rising edge to rising edge
1
1
Falling edge to falling edge
C1
C0
0
0
1 t
inst
0
1
4 t
inst
1
0
32 t
inst
1
1
Do not use this setting.
t
inst
: Instruction cycle
TO
Read
Wri te
0
Reads the current output
value.
Can be used to set the
output value when the
counter is stopped.
1
RM
Only applies to the interval timer function (FC = "0").
0
Reload timer mode
1
One-shot timer mode
FC
0
Operates as an interval timer function.
1
Operates as a pulse width measurement function.
R/W : Readable and writable
—
: Unused
: Initial value
000-0000
B
Summary of Contents for MB89950 Series
Page 2: ......
Page 3: ...FUJITSU LIMITED F2MC 8L 8 BIT MICROCONTROLLER MB89950 950A Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 34: ...20 CHAPTER 2 HANDLING DEVICES ...
Page 134: ...120 CHAPTER 6 WATCHDOG TIMER ...
Page 236: ...222 CHAPTER 10 UART ...
Page 276: ...262 CHAPTER 12 LCD CONTROLLER DRIVER ...
Page 310: ...296 APPENDIX ...
Page 311: ...297 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 316: ...302 INDEX ...
Page 318: ......