MB90480/485 Series
12. PWC Timer (MB90485 series only)
The PWC timer is a 16-bit multifunction up-count timer capable of measuring the pulse width of the input signal.
A total of three channels are provided, each consisting of a 16-bit up-count timer, an input pulse divider & divide
ratio control register, a measurement input pin, and a 16-bit control register. These components provide the
following functions.
Timer function : • Capable of generating an interrupt request at fixed intervals specified.
• The internal clock used as the reference clock can be selected from
among three types.
Pulse width measurement function : • Measures the time between arbitrary events based on external pulse
inputs.
• The internal clock used as the reference clock can be selected from
among three types.
• Measurement modes
- “H” pulse width (↑ to ↓) /“L” pulse width (↑ to ↓)
- Rising cycle (↑ to ↑) /Falling cycle (↓ to ↓)
- Measurement between edges (↑ or ↓ to ↓ or ↑)
• The 8-bit input divider can be used for division measurement by dividing
the input pulse by 22 × n (n = 1, 2, 3, 4) .
• An interrupt can be generated upon completion of measurement.
• One-time measurement or fast measurement can be selected.
62