
Semiconductor Group
35
On-Chip Peripheral Components
7
On-Chip Peripheral Components
This chapter gives detailed information about all on-chip peripherals of the SAB 80(C)515 except
for the integrated interrupt controller, which is described separately in chapter 8. Sections 7.1 and
7.2 are associated with the general parallel and serial I/O facilities while the remaining sections
describe the miscellaneous functions such as the timers, serial interface, A/D converter, power
saving modes, watchdog timer, oscillator and clock circuitries, and system clock output.
7.1
Parallel I/O
7.1.1
Port Structures
Digital I/O
The SAB 80(C)515 allows for digital I/O on 48 lines grouped into 6 bidirectional 8-bit ports. Each
port bit consists of a latch, an output driver and an input buffer. Read and write accesses to the I/O
ports P0 through P5 are performed via their corresponding special function registers P0 to P5.
The output drivers of port 0 and 2 and the input buffers of port 0 are also used for accessing external
memory. In this application, port 0 outputs the low byte of the external memory address, time-
multiplexed with the byte being written or read. Port 2 outputs the high byte of the external memory
address when the address is 16 bits wide. Otherwise, the port 2 pins continue emitting the P2 SFR
contents (see also chapter 7.1.2 and chapter 5 for more details about the external bus interface).
Digital/Analog Input Ports
The analog input lines AN0 to AN7 of the MYMOS versions can only be used as analog inputs.
In the ACMOS versions these lines may also be used as digital inputs. In this case they are
addressed as an additional input port (port 6) via special function register P6 (0DBH). Since port 6
has no internal latch, the contents of SFR P6 only depends on the levels applied to the input lines.
When used as analog input the required analog channel is selected by a three-bit field in SFR
ADCON , as described in section 7.4. Of course, it makes no sense to output a value to these input-
only ports by writing to the SFR P6 or P8; this will have no effect.
*
Summary of Contents for SAB 80515 Series
Page 9: ...Semiconductor Group 9 Introduction Figure 1 2 Block Diagram ...
Page 12: ...Semiconductor Group 12 Fundamental Structure Figure 2 1 Detailed Block Diagram ...
Page 18: ...Semiconductor Group 18 Central Processing Unit Figure 3 1 Fetch Execute Sequence ...
Page 73: ...Semiconductor Group 73 On Chip Peripheral Components Figure 7 25 A D Converter Block Diagram ...
Page 83: ...Semiconductor Group 83 On Chip Peripheral Components Figure 7 33 a Timer 2 Block Diagram ...
Page 215: ...Device Specifications Semiconductor Group 215 ...
Page 217: ...Device Specifications Semiconductor Group 217 Pin Configuration P LCC 68 ...
Page 219: ...Device Specifications Semiconductor Group 219 Logic Symbol ...
Page 226: ...Device Specifications Semiconductor Group 226 Figure 1 Block Diagram ...
Page 229: ...Device Specifications Semiconductor Group 229 Figure 2 Memory Address Spaces ...
Page 239: ...Device Specifications Semiconductor Group 239 Figure 4 Block Diagram of the A D Converter ...
Page 241: ...Device Specifications Semiconductor Group 241 Figure 5 Interrupt Request Sources ...
Page 242: ...Device Specifications Semiconductor Group 242 Figure 6 Interrupt Priority Level Structure ...