English
Language : 

MEC1322 Datasheet, PDF (248/456 Pages) Microchip Technology – Keyboard and Embedded Controller for Notebook PC
MEC1322
Note 1: The value of the Pin Control Register 2 for each pin is not shown in the tables above. The default value can
be determined by the current value shown in the “Default Operation” column of the Multiplexing Tables in
Section 1.5.2, "Multiplexing Tables," on page 20 as follows:
2mA: 00000000h
4mA: 00000010h
8mA: 00000020h
12mA: 00000030h
2: The default slew rate is slow.
3: The GPIO041 pin defaults to output low. This pin must be reprogrammed to the GPIO function upon power-
up.
20.7 Pin Multiplexing Control
Pin multiplexing depends upon the Mux Control bits in the Pin Control Register. There is a Pin Control Register for
each GPIO signal function. TABLE 20-5: shows default of the register for each GPIO pin.
The registers listed in the Register Summary table are for a single instance of the MEC1322. The addresses of each
register listed in this table are defined as a relative offset to the host “Base Address” defined in the Register Base
Address Table.
TABLE 20-6: REGISTER BASE ADDRESS TABLE
Instance Name
Instance
Number
Host
Address Space
Base Address (Note 20-1)
GPIO
Note 20-1
0
LPC
I/O
Note 20-2
0
EC
32-bit internal
4008_1000h
address space
The Base Address indicates where the first register can be accessed in a particular address space
for a block instance.
Note 20-2
The GPIO registers may be accessed by the LPC Host via the EMI block via GPIO commands or by
direct access if enabled by firmware. See the firmware documentation for a description of this access
method.
TABLE 20-7:
Offset
000h - 01Ch
020h - 03Ch
040h - 05Ch
060h - 078h
080h - 09Ch
0A0h - 0BCh
0C0h - 0DCh
100h - 11Ch
120h - 13Ch
140h - 15Ch
160h - 178h
180h - 19Ch
1A0h - 1BCh
1C0h - 1D4h
200h - 210h
218h
220h - 224h
280h
(Note 20-3)
REGISTER SUMMARY
Register Name
GPIO000-GPIO007 Pin Control Register
GPIO010-GPIO017 Pin Control Register
GPIO020-GPIO027 Pin Control Register
GPIO030-GPIO036 Pin Control Register
GPIO040-GPIO047 Pin Control Register
GPIO050-GPIO057 Pin Control Register
GPIO060-GPIO067 Pin Control Register
GPIO100-GPIO107 Pin Control Register
GPIO110-GPIO117 Pin Control Register
GPIO120-GPIO127 Pin Control Register
GPIO130-GPIO136 Pin Control Register
GPIO140-GPIO147 Pin Control Register
GPIO150-GPIO157 Pin Control Register
GPIO160-GPIO165 Pin Control Register
GPIO200-GPIO204 Pin Control Register
GPIO206 Pin Control Register
GPIO210-GPIO211 Pin Control Register
Output GPIO[000:036]
DS00001719D-page 248
 2014 - 2015 Microchip Technology Inc.