Asynchronous Sio Transmit Mode Example - Intel 8XC196MC User Manual

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
Set-up next data reception
- Clear DATA register
- Reload PTSCOUNT and PTSCON1 registers
- Select PTS service for EPA channel
- Re-initialize the EPA channel
Figure 5-24. Synchronous SIO Receive Mode — End-of-PTS Interrupt Routine Flowchart
5.6.6.3

Asynchronous SIO Transmit Mode Example

In asynchronous serial I/O (ASIO) transmit mode, an EPA channel controls the transmission baud
rate by generating an interrupt whenever a match occurs between the EPA event-time register and
a timer register. The PTS shifts a data bit out onto a port pin that is configured to function as the
Transmit Data signal (TXD) when the selected EPA channel generates a compare interrupt (Fig-
ure 5-25). In ASIO transmit mode, the PTS automatically transmits up to 16 bits (data + 1 optional
parity + 1 stop bit). The maximum number of data bits is 14 with parity, or 15 without.
5-50
End-Of-PTS Interrupt
Save Critical Data
Disable EPA Channel
Clear Interrupt Request Bit
Save Received Data
R_COUNT = R_COUNT - 1
Y
R_COUNT = 0?
N
Load Critical Data
Return
Get other manuals https://www.bkmanuals.com
RXDDONE = 1
A3275-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents