English
Language : 

MEC1404 Datasheet, PDF (321/572 Pages) Microchip Technology – Keyboard and Embedded Controller Products for Notebook PC
MEC140X/1X
• Grouped Output GPIO Data
- Outputs to individual GPIO ports are grouped into 32-bit GPIO Output Registers.
• Individual GPIO output data
- Alternatively, each GPIO output port is individually accessible via Bit [16] in the port’s Pin Control Register. On
reads, Bit [16] returns the programmed value, not the value on the pin.
There are two ways to access GPIO input data.
• Input GPIO Data
- Inputs from individual GPIO ports are grouped into 32-bit GPIO Input Registers and always reflect the current
state of the GPIO input from the pad.
• GPIO input from pad
- Alternatively, each GPIO input port is individually accessible via Bit [24] in the port’s Pin Control Register. Bit
[24] always reflects the current state of GPIO input from the pad.
22.5.2 GPIO INDEXING
Each GPIO signal function name consists of a 4-character prefix (“GPIO”) followed by a 3-digit octal-encoded index
number. In the MEC140X/1X GPIO indexing is done sequentially starting from ‘GPIO000.’
22.5.3 GPIO MULTIPLEXING
The GPIO Mux Control bits located in the Pin Control Register are used to support up to three alternate functions on
any GPIO pin. The following tables define all the GPIO Multiplexing Options implemented for each of the MEC140X/1X
products.
22.5.3.1 MEC140x GPIO Multiplexing Options
MEC140x
GPIO Name (Octal) Mux Control = 00
GPIO001
GPIO002
GPIO003
GPIO004
GPIO005
GPIO006
GPIO007
GPIO010
GPIO011
GPIO012
GPIO013
GPIO014
GPIO015
GPIO016
GPIO017
GPIO020
GPIO021
GPIO022
GPIO023
GPIO024
GPIO025
GPIO026
GPIO001
GPIO002
GPIO003
GPIO004
GPIO005
GPIO006
GPIO007
GPIO010
GPIO011
GPIO012
GPIO013
GPIO014
GPIO015
GPIO016
GPIO017
GPIO020
GPIO021
GPIO022
GPIO023
GPIO024
GPIO025
GPIO026
Mux Control = 01
SPI_CS#
PWM7
SYSPWR_PRES
BGPO
SMB00_DATA
SMB00_CLK
SMB01_DATA
SMB01_CLK
nSMI
SMB02_DATA
SMB02_CLK
nRESET_IN
KSO01
KSO02
KSO03
CMP_VIN0
CMP_VIN1
ADC5
ADC6
ADC7
KSO07
PS2_CLK1B
Mux Control = 10
32KHZ_OUT
Reserved
Reserved
Reserved
SMB00_DATA18
SMB00_CLK18
SMB01_DATA18
SMB01_CLK18
nEMI_INT
SMB02_DATA18
SMB02_CLK18
Reserved
PVT_CS#
PVT_SCLK
PVT_IO0
Reserved
Reserved
Reserved
A20M
Reserved
PVT_IO2
Reserved
Mux Control = 11
Reserved
Reserved
Reserved
Reserved
KSI2
KSI3
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
 2015 - 2016 Microchip Technology Inc.
DS00001956D-page 321