MDT10P22(DF)
(5) MSR (Memory Select Register) : R4
Memory Select Register :
00 : 10~1F
01 : 30~3F
10 : 50~5F
11 : 70~7F
b7
b6
b5
b4
b3
b2
b1
b0
Read only “1”
Indirect Addressing Mode
(6) PORT A : R5
PA7~PA0, I/O Register for 22, 24 pins
PA5~PA0, I/O Register for 20 pins
PA3~PA0, I/O Register for 18 pins
(7) PORT B : R6
PB7~PB0, I/O Register
(8) CMR(Comparator Mode Register) : R7
Bit
0
1
2
3
5:4
Function
0: Define PA0 as TTL input
1: Define PA0 as comparator input
0: Define PA1 as TTL input
1: Define PA1 as comparator input
0: Define PA2 as TTL input
1: Define PA2 as comparator input
0: Define PA3 as TTL input
1: Define PA3 as comparator input
Reference Voltage select
00: 1/4 VDD
01: 1/2 VDD
10: 3/4 VDD
11: VREF (External pin and PA4 must be set to inpu
7:6
Register bits
This specification are subject to be changed without notice. Any latest information
please preview http;//www.mdtic.com.tw
P. 6
2007/8
Ver. 1.6