8XC196MC, MD, MH USER’S MANUAL

 

 

End-Of-PTS Interrupt

 

 

 

 

Save Critical Data

 

 

 

 

Y

 

 

 

 

Start Bit?

 

 

 

 

N

 

 

 

 

Disable EPA Channel

 

 

 

 

Clear Interrupt Request Bit

 

 

Y

Start Bit Error?

Framing Error?

Y

 

 

 

 

 

N

N

 

 

 

Initialize

Parity Error?

Y

 

 

EPA Channel

 

 

 

 

 

 

 

 

 

 

N

 

 

 

Set Time To First

Save Received Data

 

RXDDONE = 3

 

Bit Sample

 

 

 

 

 

 

 

R_COUNT = R_COUNT - 1

 

 

 

Enable PTS Service

 

 

 

for EPA Channel

 

 

 

 

 

Y

 

 

 

 

R_COUNT = 0?

 

 

 

 

N

 

 

 

 

Set-up next data reception

 

 

 

 

- Clear DATA register

 

RXDDONE = 1

 

 

- Reload PTSCOUNT and PTSCON1 registers

 

 

- Select PTS service for EPA channel

 

 

 

 

- Re-initialize the EPA channel

 

 

 

 

Load Critical Data

 

 

 

 

Return

 

 

 

 

 

 

A3277-01

Figure 5-28. Asynchronous SIO Receive Mode — End-of-PTS Interrupt Routine Flowchart

5-58

Page 145
Image 145
Intel 8XC196MH, 8XC196MD, 8XC196MC manual End-Of-PTS Interrupt