| Electronic Components Datasheet Search |
|
PC8374L Datasheet(PDF) 111 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC8374L Datasheet(HTML) 111 Page - National Semiconductor (TI) |
|
111 / 239 page ![]() 6.0 General-Purpose Input/Output (GPIO) Ports (Continued) Revision 1.1 111 www.national.com The functionality of the GPIO port is divided into: • Basic functionality: Includes configuration of, writing to and reading from the GPIO pins (described in Section 6.2) • Enhanced functionality: Includes wake-up event detection and system notification (described in Section 6.3) In addition, the GPIO port can be operated in one of the following modes: • Separate Data I/O: Separate registers are available for Data In (GPDI) and for Data Out (GPDO) in addition to the Data In/Out register (GPDIO) and to the enhanced functionality registers (GPEVST and GPEVEN). • Common Data I/O: Only the Data In/Out register (GPDIO) is available. 6.2 BASIC FUNCTIONALITY The basic functionality of each GPIO pin is based on four configuration bits and a bit slice of runtime registers GPDO and GPDI (or GPDIO). The configuration and operation of a single pin GPIOXn (pin ‘n’ in port ‘X’) is shown in Figure 16 (note that for clarity, the static pull-down resistor is not shown): Figure 16. GPIO Basic Functionality 6.2.1 Configuration Options The GPCFG1 register controls the following basic configuration options, as shown in Figure 16: • Port Direction: Controlled by Output Enable (bit 0). • Output Type: Push-pull vs. open-drain; it is controlled by Output Buffer Type (bit 1) by enabling/disabling the upper tran- sistor of the output buffer. • Static Pull-Up: May be added to any type of port (input, open-drain or push-pull). It is controlled by Pull-Up Control (bit 2) • Pin Lock: GPIO pin may be locked to prevent any changes in the output value and/or the output configuration. The lock is controlled by bit 3. It disables writes to GPDO and GPDIO registers bits, to bits 7, 3 −0 of GPCFG1 register (including the Lock bit itself) and to bit 4 of GPCFG2 register. Pin Data Out Data In Output Enable Output Lock Type Static Pull-Up Push-Pull =1 Pull-Up Control Read-only Read/Write (Bit 3) (Bit 2) (Bit 1) (Bit 0) Lock Lock Lock (GPCFG1) LPC Bus Pin (GPDI) (GPDO) Lock VDD-Powered Load (Bit 4) Lock (GPCFG2) No_Vdd GPIO Pin Configuration Registers 1 and 2 Winbond Electronics Corp. Advanced PC Product Center |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |