FUJITSU Semiconductor Controller MB89950/950A User Manual

Page 167

Advertising
background image

153

CHAPTER 8 PULSE WIDTH COUNT TIMER (PWC)

For pulse width measurement function

The register is used to store the pulse width measurement value.

The counter value is transferred to this register when pulse width measurement completes on detection of

the edge specified for measurement completion.

At this time, the buffer full flag bit (PCR1: BF) and the measurement completion interrupt request flag bit

(PCR1: IR) are set to "1". Reading this register clears the BF bit to "0".

The register is read-only if the pulse width measurement function is selected.

Reference:

The pulse width for the pulse width measurement function is calculated based on the RLBR register

value as follows:

Pulse width = (256 - RLBR register value) x count clock cycle x instruction cycle

Advertising