
ML62Q1000 Series User's Manual
Chapter 17 General Purpose Port
FEUL62Q1000
17-24
17.2.6 Port n Mode Register 67 (PnMOD67:n
=
0 to 2, 4 to 9, A, B)
PnMOD67 is a special function register (SFR) to choose the input/output mode, input/output status, and shared function
of Pn6 pin and Pn7 pin.
See Table 17-2 "List of Registers / Bits" to check avaible pins and bits.
Wirte "0" to the bits of PnMOD67 register that have no corresponding pin.
Address:
0xF208(P0MOD6/P0MOD67), 0xF209(P0MOD7),
0xF218(P1MOD6/P1MOD67), 0xF219(P1MOD7),
0xF228(P2MOD6/P2MOD67), 0xF229(P2MOD7),
0xF248(P4MOD6/P4MOD67), 0xF249(P4MOD7),
0xF258(P5MOD6/P5MOD67), 0xF259(P5MOD7),
0xF268(P6MOD6/P6MOD67), 0xF269(P6MOD7),
0xF278(P7MOD6/P7MOD67), 0xF279(P7MOD7),
0xF288(P8MOD6/P8MOD67), 0xF289(P8MOD7),
0xF298(P9MOD6/P9MOD67), 0xF299(P9MOD7),
0xF2A8(PAMOD6/PAMOD67), 0xF2A9(PAMOD7),
0xF2B8(PBMOD6/PBMOD67), 0xF2B9(PBMOD7)
Access:
R/W
Access size: 8/16bit
Initial value:
0x0000
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word
PnMOD67
Byte
PnMOD7
PnMOD6
Bit
Pn7MD
3
Pn7MD
2
Pn7MD
1
Pn7MD
0
Pn7OD Pn7PU Pn7OE Pn7IE
Pn6MD
3
Pn6MD
2
Pn6MD
1
Pn6MD
0
Pn6OD Pn6PU Pn6OE Pn6IE
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial
value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
No.
Bit symbol
name
Description
15 to
12
Pn7MD3 to
Pn7MD0
This bit is used to choose the shared function of Pn7 pin.
For the details of the shared function, see Table 1-7 "ML62Q1300 Group Pin List", Table 1-8
"ML62Q1500 Group Pin List" and Table 1-9 "ML62Q1700 Group Pin List".
0000:
Primary function (initial value)
0001:
2
nd
function
0010:
3
rd
function
0011:
4
th
function
0100:
5
th
function
0101:
6
th
function
0110:
7
th
function
0111:
8
th
function
1XXX:
Do not use (Primary function)
X: 0 or 1 (don't care)
11
Pn7OD
This bit is used choose the output type of Pn7 pin.
An LED is directly drive-able by enlarging the current when the N-channel open drain output
mode is chosen.
See the data sheet for details about the current drive ability.
0: CMOS output (initial value)
1: N-channel open drain output
Содержание ML62Q1000 Series
Страница 17: ...Chapter 1 Overview...
Страница 112: ...Chapter 2 CPU and Memory Space...
Страница 154: ...Chapter 3 Reset Function...
Страница 166: ...Chapter 4 Power Management...
Страница 196: ...Chapter 5 Interrupts...
Страница 248: ...Chapter 6 Clock generation Circuit...
Страница 274: ...Chapter 7 Low Speed Time Base Counter...
Страница 291: ...Chapter 8 16 Bit Timer...
Страница 320: ...Chapter 9 Functional Timer FTM...
Страница 382: ...Chapter 10 Watchdog Timer...
Страница 402: ...Chapter 11 Serial Communication Unit...
Страница 456: ...Chapter 12 I2 C Bus Unit...
Страница 491: ...Chapter 13 I2 C Master...
Страница 512: ...Chapter 14 DMA Controller...
Страница 531: ...Chapter 15 Buzzer...
Страница 550: ...Chapter 16 Simplified RTC...
Страница 559: ...Chapter 17 GPIO...
Страница 594: ...Chapter 18 External Interrupt Function...
Страница 612: ...Chapter 19 CRC Generator...
Страница 632: ...Chapter 20 Analog Comparator...
Страница 644: ...Chapter 21 D A Converter...
Страница 655: ...Chapter 22 Voltage Level Supervisor...
Страница 676: ...Chapter 23 Successive Approximation Type A D Converter...
Страница 709: ...Chapter 24 Regulator...
Страница 714: ...Chapter 25 Flash Memory...
Страница 743: ...Chapter 26 Code Option...
Страница 750: ...Chapter 27 LCD Driver...
Страница 788: ...Chapter 28 On Chip Debug Function...
Страница 795: ...Chapter 29 Safety Function...
Страница 813: ...Appendix A...
Страница 881: ...Revision History...