![Samsung S3C8248 User Manual Download Page 206](http://html1.mh-extra.com/html/samsung/s3c8248/s3c8248_user-manual_3975904206.webp)
S3C8248/C8245/P8245/C8247/C8249/P8249
I/O PORTS
9-1
9
I/O PORTS
OVERVIEW
The S3C8248/C8245/C8247/C8249 microcontroller has two nibble-programmable and four bit-programmable I/O
ports,
P0–P5. The port 3 is a 5-bit port and the others are 8-bit ports. This gives a total of 45 I/O pins. Each port can be
flexibly configured to meet application design requirements. The CPU accesses ports by directly writing or
reading port registers. No special I/O instructions are required.
Table 9-1 gives you a general overview of the S3C8248/C8245/C8247/C8249 I/O port functions.
Table 9-1. S3C8248/C8245/C8247/C8249 Port Configuration Overview
Port
Configuration Options
0
1-bit programmable I/O port.
Schmitt trigger input or output mode selected by software; software assignable pull-up.
P0.0–P0.7 can be used as inputs for external interrupts INT0–INT7
(with noise filter and interrupt control).
1
1-bit programmable I/O port.
Input or output mode selected by software; open-drain output mode can be selected by
software; software assignable pull-up.
Alternately P1.0–P1.7 can be used as SI, SO, SCK, BUZ, T1CAP, T1CLK, T1OUT, T1PWM.
2
1-bit programmable I/O port.
Normal input and AD input or output mode selected by software;
software assignable pull-up.
3
1-bit programmable I/O port.
Input or push-pull output with software assignable pull-up.
Alternately P3.0–P3.3 can be used as TACAP, TACLK, TAOUT, TAPWM, TBPWM.
4
1-bit programmable I/O port.
Push-pull or open drain output and input with software assignable pull-up.
P4.0–P4.7 can alternately be used as outputs for LCD SEG.
5
Have the same characteristic as port 4
Summary of Contents for S3C8248
Page 31: ...ADDRESS SPACES S3C8248 C8245 P8245 C8247 C8249 P8249 2 20 NOTES ...
Page 107: ...INTERRUPT STRUCTURE S3C8248 C8245 P8245 C8247 C8249 P8249 5 18 NOTES ...
Page 195: ...INSTRUCTION SET S3C8248 C8245 P8245 C8247 C8249 P8249 6 88 NOTES ...
Page 221: ...I O PORTS S3C8248 C8245 P8245 C8247 C8249 P8249 9 16 NOTES ...
Page 245: ...16 BIT TIMER 0 1 S3C8248 C8245 P8245 C8247 C8249 P8249 12 10 NOTES ...
Page 249: ...WATCH TIMER S3C8248 C8245 P8245 C8247 C8249 P8249 13 4 NOTES ...
Page 267: ...A D CONVERTER S3C8248 C8245 P8245 C8247 C8249 P8249 15 6 NOTES ...
Page 299: ...S3P8245 P8249 OTP S3C8248 C8245 P8245 C8247 C8249 P8249 21 8 NOTES ...
Page 307: ......
Page 309: ......
Page 311: ......
Page 313: ......