参数资料
型号: S3C80B5XX-AM
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP24
封装: 0.300 INCH, SDIP-24
文件页数: 6/146页
文件大小: 740K
代理商: S3C80B5XX-AM
S3C80A4/C80A8/C80A5/C80B4/C80B8/C80B5
I/O PORTS
9-3
PORT 0
Port 0 is a general-purpose, 8-bit I/O port. It is bit-programmable. Port 0 pins are accessed directly by read/write
operations to the port 0 data register, P0 (set 1, E0H). The P0 pin circuits support pull-up resistor assignment
using P0PUR register settings and all pins have noise filters for external interrupt inputs.
Two 8-bit control registers are used to configure port 0 pins: P0CONH (set 1, E8H) for the upper nibble pins,
P0.7–P0.4, and P0CONL (set 1, E9H) for lower nibble pins, P0.3–P0.0. Each control register byte contains four
bit-pairs and each bit-pair configures one pin (see Figures 9-2 and 9-3). A hardware reset clears all P0 control
and data registers to '00H'.
A separate register, the port 0 interrupt control register, P0INT (set 1, F1H), is used to enable and disable
external interrupt input. You can poll the port 0 interrupt pending register, P0PND to detect and clear pending
conditions for these interrupts.
The lower-nibble pins, P0.3–P0.0, are used for INT3–INT0 input (IRQ6), respectively. The upper nibble pins,
P0.7–P0.4, are all used for INT4 input (IRQ7). Interrupts that are detected at any of these four pins are processed
using the same vector address (E8H).
Port 0 , P0.0–P0.7, is assigned interrupt with reset(INTR) to release stop mode with system reset.
Port 0 Control Register, High Byte (P0CONH)
E8H, Set 1, R/W
.7
.6
.5
.4
.3
.2
.1
.0
MSB
LSB
P0.7/INT4
P0.4/INT4
P0.6/INT4
P0.5/INT4
P0CONH Pin Configureation Settings:
00
01
10
11
Input mode; interrupt on falling edges
Input mode; interrupt on rising and falling edges
Push-pull output mode
Input mode; interrupt on rising edges
Figure 9-2. Port 0 High-Byte Control Register (P0CONH)
相关PDF资料
PDF描述
S3C80G9XX-QZ 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP44
S3C80F9XX-QZ 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP44
S3C80G7XX-AQ 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDIP42
S3C80G7XX-SO 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO32
S3C80F9XX-AQ 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
相关代理商/技术参数
参数描述
S3C80B8 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:S3C8-series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU
S3C80C5 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:8-Bit CMOS Microcontrollers
S3C80C8 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:8-Bit CMOS Microcontrollers
S3C80E5 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:S3C8-SERIES MICROCONTROLLERS
S3C80E7 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:S3C8-SERIES MICROCONTROLLERS