FUJITSU Semiconductor Controller MB89950/950A User Manual

Page 175

Advertising
background image

161

CHAPTER 8 PULSE WIDTH COUNT TIMER (PWC)

Figure 8.6-3 Measuring long pulse width (falling edge to falling edge)

Figure 8.6-4 "Measuring long pulse width (rising edge to rising edge)" shows the operation when the

measured pulse selection bits (PCR2: W1, W0) are set to "10

B

" (rising edge to rising edge).

Figure 8.6-4 Measuring long pulse width (rising edge to rising edge)

Input pulse

(Input waveform to the PWC pin)

EN bit

FF

H

Software
counter value

Counter value

UF bit

IR bit

BF bit

Set "0"

One cycle

Cleared by the program

Cleared by the program

Data transferred from down counter
to RLBR

RLBR read

0

1

2

3

Input pulse

EN bit

Counter value

IR bit

BF bit

Cleared by the program

0

FF

H

(Input waveform to the PWC pin)

Data transferred from
down counter to RLBR

RLBR read

Advertising