
I/O Ports
15-17
Port 2 input/output control register
Register symbol: P2DIR
Address:
x'36008064
Purpose:
This register sets the port 2 pins for input or output.
(0: input; 1: output)
Bit No.
7
6
5
4
3
2
1
0
Bit name
P27D P26D P25D P24D P23D P22D P21D P20D
Reset
0
0
0
0
0
0
0
0
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Port 2 output mode register
Register symbol: P2MD
Address:
x'36008024
Purpose:
When P2M is "1", the port 2 pins are set as a general-purpose port; when P2M is "0", the port
2 pins are set as data pins.
When P2PU is "1", the port 2 pins are pulled up.
Note: The setting of P2PU that pulls up (or does not pull up) the port 2 pins can be made
regardless of the value of P2M.
Bit No.
7
6
5
4
3
2
1
0
Bit name
-
-
-
-
-
-
P2PU P2M
Reset
0
0
0
0
0
0
1(0)
0(1)
Access
R
R
R
R
R
R
R/W
R/W
() are set when address/data multiplex mode.
Note that setting P2M to "0"
in address/data multiplex mode
is prohibited.
Содержание MN103001G/F01K
Страница 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 7: ...14 A D Converter 15 I O Ports 16 Internal Flash Memory 17 Ordering Mask ROM Appendix 14 15 16 17 ...
Страница 8: ......
Страница 9: ...Table of Contents List of Figures and Tables 0 ...
Страница 26: ...xviii ...
Страница 27: ...1 0 1 General Specifications ...
Страница 35: ...2 CPU 2 ...
Страница 57: ...3 Extension Instruction Specifications 3 ...
Страница 96: ...Extension Instruction Specifications 3 40 ...
Страница 97: ...4 Memory Modes 3 4 ...
Страница 102: ...Memory Modes 4 6 ...
Страница 103: ...5 Operating Mode 5 ...
Страница 107: ...6 Clock Generator 6 13 ...
Страница 111: ...7 Internal Memory 7 ...
Страница 114: ...Internal Memory 7 4 ...
Страница 115: ...8 Bus Controller BC 8 ...
Страница 189: ...9 Interrupt Controller 9 ...
Страница 220: ...Interrupt Controller 9 32 ...
Страница 221: ...10 8 bit Timers 9 10 ...
Страница 254: ...8 bit Timers 10 34 ...
Страница 255: ...11 16 bit Timers 11 ...
Страница 292: ...16 bit Timers 11 38 ...
Страница 293: ...12 Watchdog Timer 11 12 ...
Страница 302: ...Watchdog Timer 12 10 ...
Страница 303: ...13 Serial Interface 13 ...
Страница 354: ...Serial Interface 13 52 ...
Страница 355: ...14 A D Converter 14 ...
Страница 367: ...15 I O Ports 15 ...
Страница 431: ...16 Internal Flash Memory 16 ...
Страница 439: ...17 17 Ordering Mask ROM ...
Страница 442: ...Ordering Mask ROM 17 4 ...
Страница 443: ...Appendix ...