
Communications | PcOS Series 150 | Programmer's Guide |
Serial Port
The print controller
needs data to print or a command to decode.
Loop through idle task, and then look for more data.
Is there any |
|
|
|
| Return to print |
data in the |
| No |
|
| controller with no data |
|
| ||||
buffer? |
|
|
|
| available. |
|
|
| |||
|
|
|
|
|
|
Aquire data from the
buffer.
Move buffer pointers to
the next data byte.
Is the buffer |
|
|
|
| Set DTR or |
below the low |
| Yes |
|
| |
|
|
| transmit XON. | ||
watermark? |
|
|
|
| |
|
|
|
|
| |
|
|
|
|
|
|
No
DTR = Data Terminal Ready
Return data to print
controller.
Figure 23 Print controller using data
The print controller is always looking for data when the printer is
Page 122 | Rev G | 12/14/99 |