English
Language : 

SAB80515 Datasheet, PDF (235/270 Pages) Siemens Semiconductor Group – 8-Bit Single-Chip Microcontroller Family
Device Specifications
I/O Ports
The SAB 80C515 has six 8-bit I/O ports and one 8-bit input port. Port 0 is an open-drain
bidirectional I/O port, while ports 1 to 5 are quasi-bidirectional I/O ports with internal pullup
resistors. That means, when configured as inputs, ports 1 to 5 will be pulled high and will source
current when externally pulled low. Port 0 will float when configured as input.
Port 0 and port 2 can be used to expand the program and data memory externally. During an
access to external memory, port 0 emits the low-order address byte and reads/writes the data
byte, while port 2 emits the high-order address byte. In this function, port 0 is not an open-drain
port, but uses a strong internal pullup FET. Ports 1 and 3 are provided for several alternate
functions, as listed below:
Port Symbol Function
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6
P3.7
INT3/CC0 External interrupt 3 input, compare 0 output, capture 0 input
INT4/CC1 External interrupt 4 input, compare 1 output, capture 1 input
INT5/CC2 External interrupt 5 input, compare 2 output, capture 2 input
INT6/CC3 External interrupt 6 input, compare 3 output, capture 3 input
INT2
External interrupt 2 input
T2EX
Timer 2 external reload trigger input
CLKOUT System clock output
T2
Timer 2 external count or gate input
R×D
Serial port’s receiver data input (asynchronous) or data input/output
(synchronous)
T×D
Serial port’s transmitter data output (asynchronous) or clock output
(synchronous)
INT0
External interrupt 0 input, timer 0 gate control
INT1
External interrupt 1 input, timer 1 gate control
T0
Timer 0 external counter input
T1
Timer 1 external counter input
WR
External data memory write strobe
RD
External data memory read strobe
The SAB 80C515 has dual-purpose input port. As the ANx lines in the SAB 80515 (NMOS
version), the eight port lines at port 6 can be used as analog inputs. But if the input voltages at
port 6 meet the specified digital input levels (VIL an d VIH), the port can also be used as digital
input port. Reading the special function register P6 allows the user to input the digital values
currently applied to the port pins. It is not necessary to select these modes by software; the
voltages applied at port 6 pins can be converted to digital values using the A/D converter and
at the same time the pins can be read via SFR P6.
It must be noted, however, that the results in port P6 bits will be indeterminate if the levels at
the corresponding pins are not within their respective V IL/ VIH specifications. Furthermore, it is
not possible to use port P6 as output lines. Special function register P6 is located at address
0DBH.
Semiconductor Group
235