4.4 Options Register
The Options Register allows software to identify the QSCLP-100 as a Quatech
Enhanced Serial Adapter. It also allows software to set the UART clock rate multiplier.
Figure 8 shows the structure of the Options Register.
The powerup default of the Options Register is all bits zero.
Bit
7 (MSB)
6
5
4
3
2
1
0
4.4.1 Enhanced Serial Adapter Identification
The ID bits are used to identify the QSCLP-100 as 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 9, 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.
8
Name
ID1
ID0
-
-
-
-
RR1
RR0
Figure 9--- Options Register bit definitions
Write
ID1
ID0
0
0
0
1
1
0
1
1
Figure 10 --- ID bit write/read table
Description
ID bit 1
ID bit 0
(reserved, 0)
(reserved, 0)
(reserved, 0)
(reserved, 0)
Clock rate multiplier bit 1
Clock rate multiplier bit 0
Read
ID1
ID0
0
0
0
1
0
1
1
0
QSCLP-100 User's Manual
Need help?
Do you have a question about the QSCLP-100 and is the answer not in the manual?