iv s Table of Contents OP7100
Digital I/O ............................................................................................34
Serial Communication..........................................................................35
RS-232 Communication ..................................................................37
Receive and Transmit Buffers....................................................... 37
CTS/RTS Control ......................................................................... 38
Modem Communication ............................................................... 38
RS-485 Communication ..................................................................39
Developing an RS-485 Network ................................................... 39
Use of the Serial Ports.....................................................................41
Z180 Serial Ports .......................................................................... 42
Asynchronous Serial Communication Interface...................................44
ASCI Status Registers ..................................................................... 44
/DCD0 (Data Carrier Detect)........................................................44
TIE (Transmitter Interrupt Enable) ............................................... 44
TDRE (Transmitter Data Register Empty) ...................................44
CTS1E (CTS Enable, Channel 1) .................................................45
RIE (Receiver Interrupt Enable) ................................................... 45
FE (Framing Error) .......................................................................45
PE (Parity Error) ........................................................................... 45
OVRN (Overrun Error) ................................................................45
RDRF (Receiver Data Register Full) ............................................45
ASCI Control Register A ................................................................ 46
MOD0MOD2 (Data Format Mode Bits) ....................................46
MPBR/EFR (Multiprocessor Bit Receive/Error Flag Reset)........46
/RTS0 (Request to Send, Channel 0) ............................................46
CKA1D (CKA1 Disable)..............................................................46
TE (Transmitter Enable) ............................................................... 46
RE (Receiver Enable) ...................................................................47
MPE (Multiprocessor Enable) ...................................................... 47
ASCI Control Register B ................................................................ 47
SS (Source/Speed Select) .............................................................47
DR (Divide Ratio) ........................................................................48
PEO (Parity Even/Odd) ................................................................48
/CTS/PS (Clear to Send/Prescaler) ...............................................48
MP (Multiprocessor Mode) ..........................................................48
MPBT (Multiprocessor Bit Transmit) ..........................................48
Chapter 4: Software 51
Supplied Software ................................................................................52
Digital I/O ............................................................................................ 53
Real-Time Clock (RTC) .......................................................................54
Display .................................................................................................55
Flash EPROM ................................................................................. 55