Panasonic MN10285K User Manual page 282

Panax series microcomputer
Table of Contents

Advertisement

I/O Ports
I/O Port Control Registers
MN102H75K/F75K/85K/F85K LSI User Manual
P2MD: Port 2 Output Mode Register
Bit:
15
14
13
12
P2MD
P2MD
P2MD
P2MD
14
13
12
Reset:
0
0
0
0
R/W:
R
R/W
R/W
R/W
R/W
P2MD is a 16-bit access register.
P2MD14: P27 function switch
To use TM0IO as an output pin, set this bit to 1 and set the P2DIR7 bit to 1.
0: P27
1: TM0IO
P2MD[13:12]: P26 output and function switch
To use TM4IOA as an output pin, set this field to b'01' and set the P2DIR6
bit to 1.
00: P26
01: TM4IOA
10: SBO1
11: Reserved
P2MD[11:10]: P25 output and function switch
If you set this field to b'10', select SBI1 or SBD1 in bit 11 of PCNT0. To
use TM4IOB as an output pin, set this field to b'01' and set the P2DIR5 bit
to 1.
00: P25
01: TM4IOB
10: SBI1 or SBD1
11: Reserved
P2MD[9:8]: P24 output and function switch
To use SBT1 as an input, set this field to b'00' and set the P2DIR4 bit to 0.
00: P24
01: TM4IC
10: SBT1
11: Reserved
P2MD6: P23 output switch
0: P23
1: PWM6
P2MD4: P22 output switch
0: P22
1: PWM5
P2MD2: P21 output switch
0: P21
1: PWM4
P2MD0: P20 output switch
0: P20
1: PWM3
281
Panasonic
11
10
9
8
7
6
P2MD
P2MD
P2MD
P2MD
11
10
9
8
6
0
0
0
0
0
0
R/W
R/W
R/W
R
R/W
Panasonic Semiconductor Development Company
x'00FFF4'
5
4
3
2
1
0
P2MD
P2MD
P2MD
4
2
0
0
0
0
0
0
0
R
R/W
R
R/W
R
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn102f75kMn102f85kMn102h75kMn102h85k

Table of Contents