MPC2F35E2 MEGAWIN [Megawin Technology Co., Ltd], MPC2F35E2 Datasheet - Page 13

no-image

MPC2F35E2

Manufacturer Part Number
MPC2F35E2
Description
Low-speed USB micro-controller
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet
Port 1 is an 8-bit I/O port. Its structure is the same with Port
Port 2
Port 2 is an 8-bit I/O port, its structure is the same with Port 0 and refers to Port 0 for more information.
Port 3
Port 3 is an 8-bit I/O port, its structure is the same with Port 0 and refers to Port 0 for more information.
MEGAWIN
Address
Address
Address
00DAH
00D1H
00D9H
00D2H
00D3H
00D9H
0244H
0245H
0248H
0249H
0244H
0245H
P1_BUF: Port 1 output buffer. When P1.n is configured as an output pin, it outputs the content
P1: Values on Port 1 pins while reading from Port 1.
P1_CR: Configure P1.0 ~ P1.7 to be input or output individually. 0: input, 1: output
P1_MR: Configure the output mode of P1.0 ~ P1.7 with a 17k ohm pull-high resistor, CMOS
P2_BUF: Port 2 output buffer. When P2.n is configured as an output pin, it outputs the content
P2: Values on Port 2 pins while reading from Port 2.
P2_CR: Configure P2.0 ~ P2.7 to be input or output individually. 0: input, 1: output
P2_MR: Configure the output mode of P2.0 ~ P2.7 with a 17k ohm pull-high resistor, CMOS
P3_BUF: Port 3 output buffer. When P3.n is configured as an output pin, it outputs the content
P3: Values on Port 3 pins while reading from Port 3.
or NMOS open drain
or NMOS open drain
of P1_BUF.n.
of P2_BUF.n.
of P3_BUF.n.
P1_BUF
P2_BUF
P3_BUF
P1_MR
P2_MR
P3_MR
P1_CR
P2_CR
P3_CR
Name
Name
Name
P1
P2
P3
BP17
CP17
BP27
CP27
BP37
CP37
Bit 7
Bit 7
Bit 7
P17
P27
P37
-
-
-
MPC2F35_USB Data Sheet
BP16
CP16
BP26
CP26
BP36
CP36
Bit 6
Bit 6
Bit 6
P16
P26
P36
-
-
-
MP15
MP25
MP35
CP15
CP25
CP35
BP15
BP25
BP35
Bit 5
Bit 5
Bit 5
P15
P25
P35
MP14
MP24
MP34
BP14
CP14
BP24
CP24
BP34
CP34
Bit 4
Bit 4
Bit 4
P14
P24
P34
0,
CP13
CP23
CP33
BP13
BP23
BP33
Bit 3
Bit 3
Bit 3
P13
P23
P33
and refers to Port 0 for more information.
-
-
-
BP12
CP12
BP22
CP22
BP32
CP32
Bit 2
Bit 2
Bit 2
P12
P22
P32
-
-
-
MP11
MP21
MP31
CP11
CP21
CP31
BP11
BP21
BP31
Bit 1
Bit 1
Bit 1
P11
P21
P31
MP10
MP20
MP30
BP10
CP10
BP20
CP20
BP30
CP30
Bit 0
Bit 0
Bit 0
P10
P20
P30
R
R
R
13
W
W
W
-
-
-

Related parts for MPC2F35E2