English
Language : 

MEC1404 Datasheet, PDF (336/572 Pages) Microchip Technology – Keyboard and Embedded Controller Products for Notebook PC
MEC140X/1X
Offset See Table 22-2, "Register Summary"
Bits
Description
Type
13:12 Mux Control
R/W
The Mux Control field determines the active signal function for a pin.
00 = GPIO Function Selected
01 = Signal Function 1 Selected
10 = Signal Function 2 Selected
11 = Signal Function 3 Selected
11 Polarity
R/W
0 = Non-inverted
1 = Inverted
When the Polarity bit is set to ‘1’ and the Mux Control bits are greater
than ‘00,’ the selected signal function outputs are inverted and Inter-
rupt Detection (int_det) sense defined in Table 22-3, "Edge Enable
and Interrupt Detection Bits Definition" is inverted. When the Mux
Control field selects the GPIO signal function (Mux = ‘00’), the Polar-
ity bit does not effect the output. Regardless of the state of the Mux
Control field and the Polarity bit, the state of the pin is always
reported without inversion in the GPIO input register.
10 GPIO Output Control Select
R/W
Every GPIO has two mechanisms to set a GPIO data output: Output
GPIO Bit located in the grouped GPIO Output Registers and the sin-
gle GPIO output data bit located in bit 16 of this register.
This control bit determines the source of the GPIO output.
0 = Pin Control Bit[16] GPIO output data bit enabled
When this bit is zero the single GPIO output data bit is enabled.
(GPIO output data is R/W capable and the Grouped Output GPIO is
disabled (i.e., Read-Only).
1 = Grouped Output GPIO enable
When this bit is one the GPIO output data write is disabled (i.e.,
Read-Only) and the Grouped Output GPIO is enabled (i.e., R/W).
Default
Note 22-6
Reset
Event
nSYSRS
T
Note 22-6 nSYSRS
T
Note 22-6 nSYSRS
T
Note: See description in Section 22.5.1, "Accessing GPIOs".
9 GPIO Direction
0 = Input
1 = Output
The GPIO Direction bit controls the buffer direction only when the
Mux Control field is ‘00’ selecting the pin signal function to be
GPIO. When the Mux Control field is greater than ‘00’ (i.e., a non-
GPIO signal function is selected) the GPIO Direction bit has no
affect and the selected signal function logic directly controls the pin
direction.
R/W
Note 22-6 nSYSRS
T
DS00001956D-page 336
 2015 - 2016 Microchip Technology Inc.