iv s Table of Contents BL1600
Driver Software.................................................................................... 36
Digital Inputs...................................................................................36
Digital Outputs ................................................................................36
High-Speed DMA Counter.............................................................. 37
Battery-Backed Clock ..................................................................... 38
Writing to Flash EPROM ................................................................ 38
Virtual Drivers.................................................................................39
Invoking the Virtual Driver ........................................................... 41
Virtual Driver Variables ................................................................ 41
Digital Inputs .............................................................................. 41
Digital Outputs ........................................................................... 41
Timers......................................................................................... 42
Serial Communication..........................................................................43
RS-232 Communication ..................................................................43
Receive and Transmit Buffers.......................................................43
Echo Option .................................................................................. 43
CTS/RTS Control .........................................................................43
XMODEM File Transfer ..............................................................44
Modem Communication ............................................................... 44
Software Support.............................................................................45
Interrupt Handling for Z180 Port 0...............................................45
RS-232 Software Support .............................................................46
XMODEM Commands ................................................................. 48
Miscellaneous Functions .............................................................. 49
Master-Slave Networking ...............................................................51
RS-485 Network Hardware Connections ..................................... 52
RS-485 Network Software Support .............................................. 54
Miscellaneous RS-485 Network Functions ..................................55
Support Libraries and Sample Programs.........................................56
Direct Programming of the Serial Ports ............................................... 57
Attainable Baud Rates..................................................................... 57
Z180 Serial Ports ............................................................................ 58
Asynchronous Serial Communication Interface (ASCI) ...................... 60
ASCI Status Registers .....................................................................60
CTS1E (CTS Enable, Channel 1) .................................................61
RDRF (Receiver Data Register Full) ............................................ 61
ASCI Control Register A ................................................................ 62
ASCI Control Register B ................................................................63