Quatech RS-485 user manual Options Register, Bit Name Description

Page 18

4.5 Options Register

The Options Register allows software to identify the DSC-200/300 as a Quatech Enhanced Serial Adapter. It also allows software to set the UART clock rate multiplier. Figure 10 shows the structure of the Options Register.

The powerup default of the Options Register is all bits zero.

Bit

Name

Description

 

 

 

7 (MSB)

ID1

ID bit 1

 

 

 

6

ID0

ID bit 0

 

 

 

5

-

(reserved, 0)

 

 

 

4

-

(reserved, 0)

 

 

 

3

-

(reserved, 0)

 

 

 

2

-

(reserved, 0)

 

 

 

1

RR1

Clock rate multiplier bit 1

 

 

 

0

RR0

Clock rate multiplier bit 0

 

 

 

Figure 10--- Options Register bit definitions

4.5.1 Enhanced Serial Adapter Identification

The ID bits are used to identify the DSC-200/300 is a Quatech Enhanced Serial Adapter. Logic operations are performed such that the values read back from these bits will not necessarily be the values that were written to them. Bit ID1 will return the logical-AND of the values written to ID[1:0], while bit ID0 will return their exclusive-OR.

Software can thus identify a Quatech Enhanced Serial Adapter by writing the ID bits with the patterns shown in the "write" column of Figure 11, then reading the bits and comparing the result with the patterns in the "read" column. Matching read patterns verify the presence of the Options Register.

Write

Read

ID1

ID0

ID1

ID0

0

0

0

0

0

1

0

1

1

0

0

1

1

1

1

0

Figure 11 --- ID bit write/read table

Quatech DSC-200/300 User's Manual

16

Image 18
Contents DSC-200/300 Date of Purchase Model Number Page Declaration of Conformity 2 AUX0SEL1,0, AUX1SEL1,0 J12,11,19,18 IND Option --- Surge Suppression UpgradeChanging Resource Settings with Device Manager 4 TGL0SEL1,0, TGL1SEL1,0 J15,14,22,21External Connections Half-Duplex/Full-Duplex/Auto-Toggle SelectionGeneral Information Features DSC-200/300 Product Series SummarySignal Connections Full-duplex/Half-duplex OperationJumpers J10-J23 define the options for this card 1 CTS0SEL, CTS1SEL J10,17 RCLK0SEL, RCLK1SEL J13RXEN0SEL, RXEN1SEL J16 Enable Scratchpad Register SPAD, J2 Clock Rate and Optional RegistersClock multiplier jumper options Hardware Installation Base Address and Interrupt Level IRQ Enabling the Special Registers Interrupt Status RegisterQuatech Modem Control Register Quatech Modem Control RegisterOptions Register Bit Name DescriptionClock Rate Multiplier RR1 RR0Windows Millennium Windows Windows Windows Windows NT Viewing Resources with Device Manager Quatech DSC-200/300 PCI Two-Port RS-422/RS485 Serial Adapter Adapter Data Rate Multiplier Application. This mode is useful for legacy Used when external handshaking or Page OS/2 DOS and other operating systemsQTPCI.EXE QTPCI.EXE Expert Mode display RTS/CTS Handshake Jumpers J10-12Rclk TclkAUXIN/AUXOUT Loopback AUXIN/AUXOUT loopbackHalf/full-duplex and Auto-Toggle selection Termination Resistors RS-422/485 TerminationDSC-200/300 connector definitions RS-422/485 Peripheral ConnectionPCI Resource Map Specifications Computer will not boot up