8XC196MC, MD, MH USER’S MANUAL

 

 

 

Timer-counter Unit

 

 

 

 

 

 

 

 

 

 

 

 

TIMER1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TIMER2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Capture/Compare

 

 

 

 

 

 

 

EPA0

 

 

 

 

 

 

Channel 0

 

 

 

 

 

 

 

 

 

.

 

 

 

.

 

 

 

.

EPAx

 

 

 

 

 

 

Capture/Compare

 

 

 

 

 

 

 

 

 

 

 

 

Channel x

 

 

 

 

 

 

 

 

 

 

 

 

 

Compare-only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Channel 0

 

 

 

 

 

 

.

 

 

 

 

 

 

 

.

 

 

 

.

 

 

 

 

 

 

 

 

Compare-only

 

 

 

 

 

 

 

 

Channel y

 

 

 

 

 

 

 

 

 

Notes:

For the 8XC196MC, x & y = 3.

For the 8XC196MD, x & y = 5.

For the 8XC196MH, x = 1 & y = 3.

EPA0 Interrupt

EPAx Interrupt

COMP0 Interrupt

COMP0

COMPy Interrupt

COMPy

A2846-01

Figure 11-1. EPA Block Diagram

11.2 EPA AND TIMER/COUNTER SIGNALS AND REGISTERS

Table 11-2 describes the EPA and timer/counter input and output signals. Each signal is multi- plexed with a port pin as shown in the first column. Table 11-3 briefly describes the registers for the EPA capture/compare channels, EPA compare-only channels, and timer/counters.

Table 11-2. EPA and Timer/Counter Signals

 

Port Pin

 

EPA

EPA

 

 

 

 

Signal

Description

8XC196MC

8XC196MD

8XC196MH

Signals

Type

 

 

 

 

 

 

 

 

 

P1.2

P1.2

P0.6

T1CLK

I

External clock source for timer 1.

P1.3

P1.3

P0.7

T1DIR

I

External direction control for timer 1.

P2.0

P2.0

P2.0

EPA0

I/O

High-speed input/output for the

P2.1

P2.1

P2.2

EPA1

 

capture/compare channels.

P2.2

P2.2

EPA2

 

 

P2.3

P2.3

EPA3

 

 

P7.0

EPA4

 

 

P7.1

EPA5

 

 

11-2

Page 241
Image 241
Intel 8XC196MH, 8XC196MD, 8XC196MC manual EPA and TIMER/COUNTER Signals and Registers, EPA and Timer/Counter Signals