EasyManua.ls Logo

Panasonic MN101L Series

Panasonic MN101L Series
563 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7
I/O Port
VII - 12 Control Registers
7.2.3 Port n Direction Control Registers
PnDIR is the register to control I/O direction of I/O when it is used as a general purpose port.
Port 0 Direction Control Register (P0DIR: 0x03F30)
Port 1 Direction Control Register (P1DIR: 0x03F31)
Port 2 Direction Control Register (P2DIR: 0x03F32)
bp 76543210
Bit name P0DIR7-0
At reset00000000
Access R/W R/W R/W R/W R/W R/W R/W R/W
bp Bit name Description
7-0 P0DIR7-0
I/O mode selection
0: Intput mode
1: Output mode
bp 76543210
Bit name P1DIR7-0
At reset00000000
Access R/W R/W R/W R/W R/W R/W R/W R/W
bp Bit name Description
7-0 P1DIR7-0
I/O mode selection
0: Intput mode
1: Output mode
bp 76543210
Bit name - P2DIR6-0
At reset00000000
Access R R/WR/WR/WR/WR/WR/WR/W
bp Bit name Description
7 - Always read as 0.
6-0 P2DIR6-0
I/O mode selection
0: Intput mode
1: Output mode

Table of Contents

Related product manuals