1.1 OVERVIEW OF CHIP ID
The S5PV210 includes a Chip ID block for the software (SW) that sends and receives APB interface signals to the
bus system. Chip ID is placed on the first address of the SFR region (0xE000_0000).
s5pv210包括一个软件芯片ID块,它是用来发送和接收信号APB接口信号的总线系统。芯片ID放在SFR区首地址(0xe000_0000)。
The product ID register supplies product ID, revision number and device ID.
产品标识寄存器提供产品编号、修订号和设备编号。
2 GENERAL PURPOSE INPUT/ OUTPUT
This chapter describes the General Purpose Input/ Output (GPIO).
2.1 OVERVIEW
S5PV210 includes 237 multi-functional input/ output port pins and 142 memory port pins. There are 34 general
port groups and 2 memory port groups as listed below:
S5PV210包括237个多功能输入/输出端口引脚和142个存储器端口引脚。一般有34个端口组和2个存储端口组如下所列:
2.1.1 FEATURES
The key features of GPIO include:
• Controls 146 GPIO Interrupts
• Controls 32 External Interrupts
• 237 multi-functional input / output ports
• Controls pin states in Sleep Mode except GPH0, GPH1, GPH2, and GPH3 ( GPH* pins are alive-pads)
控制146GPIO中断,
控制32个外部中断,
·237多功能输入/输出端口
•控制在睡眠模式下引脚的状态,除了GPH0,GPH1,GPH2,和GPH3(GPH *引脚是alive-pads)
Configurable Input/ Output (I/O) issubdivided into Type A and Type B.
A:Normal I/O,B:Fast I/O。
2.2 REGISTER DESCRIPTION
2.2.1 REGISTER MAP
Each Port Group has 2 types of control registers.
One works in normal mode, and the other works in power down mode (STOP, DEEP-STOP, SLEEP mode)
Normal registers (For example, GPA0CON, GPA0DAT, GPA0PUD, and GPA0DRV) are the former, and power
down registers (For example, GPA0CONPDN, and GPA0PUDPDN) are the latter.
If, S5PV210 enter the power down mode, all configurations and Pull-down controls are selected by power down
registers
2.2.55 GPIO INTERRUPT CONTROL REGISTERS
GPIO Interrupt comprise of 22 groups, namely, GPA0, GPA1, GPB, GPC0, GPC1, GPD0, GPD1, GPE0, GPE1,
GPF0, GPF1, GPF2, GPF3, GPG0, GPG1, GPG2, GPG3, GPJ0, GPJ1, GPJ2, GPJ3 and GPJ4.
In interrupt function, it is important to understand the filter operation.
S5PV210 uses two types of filters to detect interrupt, namely, delay filter and digital filter.
Delay filter uses delay cell.
在中断函数中,重要的是要了解过滤器的操作。
S5PV210使用两种类型的过滤器来检测中断,即延迟滤波器和数字滤波器。
延迟滤波器使用延迟单元。
If clock is not serviced, select the delay filter in alive area.
如果没有提供服务,选择在活区域中的延迟滤波器。
Delay filter enables to detect interrupt after 35ns from the time when the interrupt occurs.
延迟滞滤波器能检测中断,在中断发生的时间为35ns内。
Digital filter means that all interrupt counts are based on clock.
数字滤波器意味着所有的中断计数都是基于时钟。
Therefore, this filter can be used in clock-supported area.(both off area and alive area)
因此,该过滤器可用于时钟支持区域(包括面积和活面积)
When you select digital filter set the filtering width.
Digital filter can detect interrupt per every clock count as many as filtering width.
Filtering width is 6-bit in alive area and is 7-bit in off area.
选择数字滤波器时,设置过滤宽度。
数字滤波器可以检测每一个时钟计数的中断,尽可能多的过滤宽度。
滤波宽度在活区位和在客区7。
When you use interrupt function, set either delay or digital filter enabled in order to detect interrupt.
If filter is disabled, there is strong probability that system detects all interrupt from successive interrupts (Some
interrupt detection will be missed).
在使用中断功能时,设置延迟或数字滤波器,以便检测中断。
如果筛选器被禁用,系统会检测到中断的所有中断(一些中断检测将错过)。
To detect all interrupts stably, you had better set filter enable.
GPIO Interrupt cannot use for wake-up source. For wake-up interrupt source, you can use External interrupt.
The following table shows the list of GPIO Interrupt control registers.
要稳定地检测所有中断,最好设置筛选器启用。
不能使用GPIO中断唤醒源。对于唤醒中断源,可以使用外部中断。
下表显示的列表的GPIO中断控制寄存器。
2.2.60 EXTERNAL INTERRUPT CONTROL REGISTERS
External Interrupt consists of 32 bits. EXT_INT[31:0] are used for wake-up source in Power down mode.
In idle mode, all interrupts can be wake-up source; the other groups of external interrupts also can be the wake-up
sources.
在空闲模式,所有的中断都可以被唤醒,其他组的外部中断也可以被来源唤醒。
EXT_INT[0] can be used PS_HOLD_CONTROL. For more information on PS_HOLD_CONTROL Register, refer to Chapter 02.04. PMU.
The table below lists the external interrupt control registers.