English
Language : 

MEC1404 Datasheet, PDF (319/572 Pages) Microchip Technology – Keyboard and Embedded Controller Products for Notebook PC
MEC140X/1X
22.0 GPIO INTERFACE
22.1 General Description
The MEC140X/1X GPIO Interface provides general purpose input monitoring and output control, as well as managing
many aspects of pin functionality; including, multi-function Pin Multiplexing Control, GPIO Direction control, PU/PD
(PU_PD) resistors, asynchronous wakeup and synchronous Interrupt Detection (int_det), GPIO Direction, and Polarity
control, as well as control of pin drive strength and slew rate.
Features of the GPIO Interface include:
• Inputs:
- Asynchronous rising and falling edge wakeup detection
- Interrupt High or Low Level
• On Output:
- Push Pull or Open Drain output
• Pull up or pull down resistor control
• Interrupt and wake capability available for all GPIOs
• Programmable pin drive strength and slew rate limiting
• Group- or individual control of GPIO data.
• Multiplexing of all multi-function pins are controlled by the GPIO interface
22.2 Block Diagram
The GPIO Interface Block Diagram shown in FIGURE 22-1: illustrates the functionality of a single MEC140X/1X GPIO
Interface pin. The source for the Pin Multiplexing Control, Interrupt Detection (int_det), GPIO Direction, and Polarity
controls in FIGURE 22-1: is a Pin Control Register that is associated with each pin (see Section 22.6.1.1, "Pin Control
Register," on page 335).
FIGURE 22-1:
GPIO INTERFACE BLOCK DIAGRAM
Input 3 (MUX = 11)
MUX
Input 2 (MUX = 10)
MUX
Input 1 (MUX = 01)
MUX
Write
Read
GPIO Output
Register
(MUX = 00)
Output 1 (MUX = 01)
Output 2 (MUX = 10)
Output 3 (MUX = 11)
Polarity
MUX
GPIO Direction
2
Interrupt Detection
Mux Control
4
Interrupt
Detector
Read
GPIO Input
Register
Interrupt
22.3 Power, Clocks and Reset
This section defines the Power, Clock, and Reset parameters of the block.
GPIOxxx PIN
 2015 - 2016 Microchip Technology Inc.
DS00001956D-page 319