![Samsung S3C80M4/F80M4 Скачать руководство пользователя страница 207](http://html1.mh-extra.com/html/samsung/s3c80m4-f80m4/s3c80m4-f80m4_user-manual_3996174207.webp)
S3C80M4/F80M4
I/O
PORTS
9-5
PORT 1
Port 1 is an 7-bit I/O port with individually configurable pins. Port 1 pins are accessed directly by writing or reading
the port 1 data register, P1 at location E1H in set 1, bank 0. P1.0–P1.6 can serve inputs, as outputs
(push pull or open-drain) or you can configure the following alternative functions:
— Low-byte pins (P1.0-P1.3): T0OUT, T0CLK
— High-byte pins (P1.4-P1.6): CLKOUT
Port 1 Control Register (P1CONH, P1CONL)
Port 1 has two 8-bit control registers: P1CONH for P1.4–P1.6 and P1CONL for P1.0–P1.3. A reset clears the
P1CONH and P1CONL registers to “00H”, configuring all pins to input mode. You use control registers settings to
select input or output mode (push-pull or open drain) and enable the alternative functions.
When programming the port, please remember that any alternative peripheral I/O function you configure using the
port 1 control registers must also be enabled in the associated peripheral module.
Port 1 Pull-up Resistor Enable Register (P1PUR)
Using the port 1 pull-up resistor enable register, P1PUR (F1H, set 1, bank 0), you can configure pull-up resistors
to individual port 1 pins.
Port 1 Control Register, High Byte (P1CONH)
EFH, Set 1, Bank 0, R/W
.7
.6
.5
.4
.3
.2
.1
.0
MSB
LSB
Not used for the S3C80M4
P1CONH bit-pair pin configuration settings:
00
01
10
11
Output mode, Push-pull
P1.6/CLKOUT
P1.5
P1.4
Output mode, N-channel open-drain
Input mode
Alternative function (CLKOUT, not used for P1.5/P1.4)
Figure 9-5. Port 1 High-Byte Control Register (P1CONH)
Содержание S3C80M4/F80M4
Страница 1: ...S3C80M4 F80M4 8 BIT CMOS MICROCONTROLLERS USER S MANUAL Revision 1 ...
Страница 44: ...ADDRESS SPACES S3C80M4 F80M4 2 20 NOTES ...
Страница 84: ...CONTROL REGISTERS S3C80M4 F80M4 4 26 NOTES ...
Страница 102: ...INTERRUPT STRUCTURE S3C80M4 F80M4 5 18 NOTES ...
Страница 190: ...INSTRUCTION SET S3C80M4 F80M4 6 88 NOTES ...
Страница 202: ...RESET and POWER DOWN S3C80M4 F80M4 8 6 NOTES ...
Страница 216: ...8 BIT TIMER 0 S3C80M4 F80M4 11 4 NOTES ...
Страница 220: ...8 BIT PULSE WIDTH MODULATION S3C80M4 F80M4 12 4 NOTES ...
Страница 230: ...ELECTRICAL DATA S3C80M4 F80M4 13 10 NOTES ...
Страница 248: ...DEVELOPMENT TOOLS S3C80M4 F80M4 16 8 NOTES ...
Страница 249: ...This datasheet has been downloaded from www DatasheetCatalog com Datasheets for electronic components ...