Transmission
RS485 transmission is simple to implement. The AUTO feature of the PCI-ICM-1S card automatically
enables the transmitter when data are ready to send. No software enabling is required.
The following C code fragment demonstrates this process:
while(data[i]); /*While there is data to send*/
{
while(!(inportb(BA5)&0x20)); /*Wait until transmitter is empty*/
outportb(BASEADDR,data[i]);
i++;
}
Manual PCI-ICM-1S
15