English
Language : 

MA015 Datasheet, PDF (21/29 Pages) Megawin Technology Co., Ltd – Build-in watchdog timer
MA015 Datasheet
Version 2.00
12.2 Port 1
Port 1
Address
Name
Bit 7 Bit 6 Bit 5 Bit 4
00E4H
P1
P17 P16 P15 P14
00E5H
P1CR
CP17 CP16 CP15 CP14
00E6H
P1MR
-
- MP15 MP14
Port 1 is an 8-bit I/O port; refer to port 0 for more information.
P1CR: P1.0 ~ P1.7 is input or output. 0: input, 1: output
P1MR: P1.0 ~ P1.7, pull-high and CMOS/NMOS setting
P1MR.0: P1.0 ~ P1.3 Pull-high control, 0: disable, 1:enable
P1MR.1: P1.0 ~ P1.3 CMOS/NMOS selector, 0: CMOS, 1:NMOS
P1MR.4: P1.4 ~ P1.7 Pull-high control, 0: disable, 1: enable
P1MR.5: P1.4 ~ P1.7 CMOS/NMOS selector, 0: CMOS, 1:NMOS
Bit 3
P13
CP13
-
Bit 2
P12
CP12
-
Bit 1
P11
CP11
MP11
Bit 0
P10
CP10
MP10
RW



Port 1 multi-function selector (Normal I/O or Timer carrier out)
Address
Name
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
00E7H
P1_MFR
PS7 PS6
-
-
PS3
-
-
PS7: Port 1.7 is normal I/O or TM2 carrier output selector. 0:normal I/O, 1: carrier output
PS6: Port 1.6 is normal I/O or TM1 carrier output selector. 0:normal I/O, 1: carrier output
PS3: Port 1.3 is normal I/O or TM0 carrier output selector. 0:normal I/O, 1: carrier output
Bit 0 R W
-
-
12.3 Port 2
Port 2
Address
Name
Bit 7 Bit 6 Bit 5 Bit 4
00E8H
P2
P27 P26 P25 P24
00E9H
P2CR
CP27 CP26 CP25 CP24
00EAH
P2MR
-
- MP25 MP24
Port 2 is an 8-bit I/O port; refer to port 0 for more information.
P2CR: P2.0 ~ P2.7 is input or output. 0: input, 1: output
P2MR: P2.0 ~ P2.7, pull-high and CMOS/NMOS setting
P2MR.0: P2.0 ~ P2.3 Pull-high control, 0: disable, 1:enable
P2MR.1: P2.0 ~ P2.3 CMOS/NMOS selector, 0: CMOS, 1:NMOS
P2MR.4: P2.4 ~ P2.7 Pull-high control, 0: disable, 1: enable
P2MR.5: P2.4 ~ P2.7 CMOS/NMOS selector, 0: CMOS, 1:NMOS
Bit 3
P23
CP23
-
Bit 2
P22
CP22
-
Bit 1
P21
CP21
MP21
Bit 0
P20
CP20
MP20
RW



This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2011 All right reserved.
QP-7300-03D
21/29