Intel 80C188XL, 80C186XL user manual Timer/Counter Unit, 3.Timers 0 and 1 Flow Chart Continued

Models: 80C186XL 80C188XL

1 405
Download 405 pages 42.62 Kb
Page 234
Image 234
Figure 9-3. Timers 0 and 1 Flow Chart (Continued)

TIMER/COUNTER UNIT

 

 

 

Continued From

 

 

 

 

 

 

 

 

"A"

 

 

 

 

 

 

 

No

Alternating

Yes

 

 

 

 

 

Maxcount Regs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(ALT = 1)

 

 

 

 

 

 

 

 

?

 

 

 

 

 

 

Counter =

Yes

Yes

 

Using

 

No

 

 

(Use"A")

 

 

(Use"B")

 

 

Maxcount A

 

 

Compare "A"

 

 

 

 

 

 

 

 

 

 

(RIU = 0)

 

 

 

 

?

 

 

 

 

 

 

 

 

 

 

?

 

 

 

 

 

 

 

 

 

 

 

 

No

No

Counter =

 

 

 

Counter =

No

 

 

 

 

 

 

 

 

Compare "A"

 

 

 

Compare "B"

 

 

 

 

?

 

 

 

?

 

 

 

Done

Yes

 

 

 

Yes

 

 

 

 

 

 

 

 

 

Pulse TOUT Pin

 

Set RIU Bit

 

 

 

Clear RIU Bit

 

 

Low For 1 Clock

 

TOUT Pin Driven Low

 

TOUT Pin Driven High

 

Yes

Continuous Mode

 

 

 

Yes

 

Continuous Mode

 

 

 

 

 

 

 

 

 

(CONT=1)

 

 

 

 

 

(CONT=1)

 

 

?

 

 

 

 

 

?

 

 

No

No

Interrupt Bit Set

 

 

 

No

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Clear Enable Bit

 

?

 

 

 

Clear Enable Bit

 

 

 

 

 

 

 

 

 

(Stop Counting)

 

Yes

 

 

 

(Stop Counting)

 

 

 

 

 

 

 

 

 

 

 

 

Request Interrupt

 

 

 

 

 

 

 

Clear Counter

 

 

 

 

 

 

 

 

Done

 

 

 

 

 

 

 

 

 

 

 

 

A1295-0A

Figure 9-3. Timers 0 and 1 Flow Chart (Continued)

9-5

Page 234
Image 234
Intel 80C188XL, 80C186XL user manual Timer/Counter Unit, 3.Timers 0 and 1 Flow Chart Continued