参数资料
型号: S3C80B5XX-AM
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP24
封装: 0.300 INCH, SDIP-24
文件页数: 9/146页
文件大小: 740K
代理商: S3C80B5XX-AM
I/O PORTS
S3C80A4/C80A8/C80A5/C80B4/C80B8/C80B5
9-6
PORT 1
Port 1 is a bit-programmable 8-bit I/O port. Port 1 pins are accessed directly by read/write operations to the port 1
data register, P1 (set 1, E1H).
To configure port 1, the initialization routine writes the appropriate values to the two port 1 control registers:
P1CONH (set 1, EAH) for the upper nibble pins, P1.7–P1.4, and P1CONL (set 1, EBH) for the lower nibble pins,
P1.3–P1.0. Each 8-bit control register contains four bit-pairs and each 2-bit value configures one port pin (see
Figures 9-6 and 9-7).
Following a hardware reset, the port 1 control registers are cleared to '00H', configuring port 0 initially to Input
mode.
To assign pull-up resistors to P1 pins, you make the appropriate settings to the port 1 pull-up resistor enable
register, P1PUR.
Port 1 Control Register, High Byte (P1CONH)
EAH, Set 1, R/W
.7
.6
.5
.4
.3
.2
.1
.0
MSB
LSB
P1.7
P1.4
P1.6
P1.5
P1CONH Pin Configureation Settings:
00
01
10
11
Input mode
Open-drain output mode
Push-pull output mode
Invalid setting
Figure 9-6. Port 1 High-Byte Control Register (P1CONH)
相关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