146
CHAPTER 8 PULSE WIDTH COUNT TIMER (PWC)
8.3
Structure of Pulse Width Count Timer
This section describes the pins, pin block diagram, registers, and interrupt source of
the pulse width count timer.
■
Pulse width count timer pin
The pulse width count timer uses the P42/PWC/INT1 pin. This pin can function either as CMOS general-
purpose I/O port (P42) or external interrupt (INT1), or as the measured pulse input (PWC).
PWC:
The pulse width measurement function measures the pulse widths input to this pin.
Set the pin as an input port in the port data direction register (DDR4: bit 2 = "0") when using as the
PWC pin for the pulse width measurement function.
■
Block diagram of pulse width count timer pin
Figure 8.3-1 Block diagram of pulse width count timer pin
PDR (Port data register)
DDR
In
te
rnal
dat
a
bus
PDR read
PDR read
Output latch
PDR write
DDR write
Pin
SPL: Pin state specification bit in the standby control register (STBC)
N-c
P42/PWC/INT1
h
Stop mode (SPL = 1)
To peripheral input
(Port data direction register)
P-ch
Pull-up resistor
Approx. 50 k
P-ch
(When Read-modify-write instruction executed)
Stop mode (SPL = 1)
To external interrupt
External interrupt enable
(Mask option)
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: ......