| 数据搜索系统,热门电子元器件搜索 |
|
PC87366 数据表(PDF) 130 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87366 数据表(HTML) 130 Page - National Semiconductor (TI) |
|
130 / 240 page ![]() 130 www.national.com 6.0 General-Purpose Input/Output (GPIO) Port This chapter describes one 8-bit port. A device may include a combination of several ports with different implementations. For the device specific implementation, see the Device Architecture and Configuration chapter. 6.1 OVERVIEW The GPIO port is an 8-bit port, which is based on eight pins. It features: q Software capability to manipulate and read pin levels q Controllable system notification by several means based on the pin level or level transition q Ability to capture and manipulate events and their associated status q Back-drive protected pins. GPIO port operation is associated with two sets of registers: q Pin Configuration registers, mapped in the Device Configuration space. These registers are used to statically set up the logical behavior of each pin. There are two 8-bit register for each GPIO pin. q Four 8-bit runtime registers: GPIO Data Out (GPDO), GPIO Data In (GPDI), GPIO Event Enable (GPEVEN) and GPIO Event Status (GPEVST). These registers are mapped in the GPIO device IO space (which is determined by the base address registers in the GPIO Device Configuration). They are used to manipulate and/or read the pin val- ues, and to control and handle system notification. Each runtime register corresponds to the 8-pin port, such that bit n in each one of the four registers is associated with GPIOXn pin, where X is the port number. Each GPIO pin is associated with ten configuration bits and the corresponding bit slice of the four runtime registers, as shown in Figure 17. The functionality of the GPIO port is divided into basic functionality that includes the manipulation and reading of the GPIO pins, and enhanced functionality. The basic functionality is described in Section 6.2. The enhanced functionality which in- cludes the event detection and system notification is described in Section 6.3. Figure 17. GPIO Port Architecture GPIO Pin GPIO Pin Select (GPSEL) Configuration (GPCFG) GPDOX GPDIX GPEVENX GPSTX Runtime Registers GPIOX Base Address Event Bit n Port and Pin 8 GPCFG Registers x8 GPIOXn Pin x8 GPIOXn CNFG Interrupt x8 GPIOXn Port Logic X = port number n = pin number, 0 to 7 Pending Indicator Request SMI PWUREQ GPIO Pin Event Routing (GPEVR) 8 GPEVR Registers GPIOXn ROUTE Select Event Routing Control Register Register Register |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |