Lucent Technologies MN10285K User Manual

Page 112

Advertising
background image

Timers

16-Bit Timer Setup Examples

MN102H75K/F75K/85K/F85K LSI User Manual

Panasonic Semiconductor Development Company

111

Panasonic

4.11.6 Setting Up a 4x Two-Phase Encoder Input Using Timer 5

In this example, timer 5 inputs a 4x two-phase encoded signal that makes it count

up and down. An interrupt occurs when the counter reaches a preset value.

As figure 4-41 shows, you can set different values for A and B interrupts.
(TM5LP must be 0.)

A. Chip Level

B. Block Level

Figure 4-39 Block Diagram of 4x Two-Phase Capture Input Using Timer 5

Figure 4-40 Configuration Example 1 of 4x Two-Phase Capture Input Using

Timer 5

Figure 4-41 Configuration Example 2 of 4x Two-Phase Capture Input Using

Timer 5

TM5IA
TM5IB

P3

P5

CORE

Interrupts

Timers 0-3

Timers 4-5

ROM, RAM

Bus Controller

Serial I/Fs

ADC

P2

P6

P4

up/down

Interrupt B

TM5BC

Timer 5

TM5CA

TM5CB

TM5IA

TM5IB

T

Q

T

Q

R
S

Q

Controller

TM5BC contents

x'1000'

Interrupt

0

x'1FFF'

x'1000'

A interrupt

0

x'FFFF'

x'FF00'

B interrupt

Advertising
This manual is related to the following products: