8-1
On-Chip Peripherals
On-Chip Peripherals
This chapter discusses on-chip peripherals connected to the ’C2xx CPU and
their control registers. The on-chip peripherals are controlled through
memory-mapped registers. The operations of the timer and the serial ports are
synchronized to the processor through interrupts and interrupt polling. The
’C2xx on-chip peripherals are:
-
Clock generator
-
Timer
-
Software-programmable wait-state generator
-
General-purpose I/O pins
-
Synchronous serial port (SSP)
-
Asynchronous serial port (ASP), or UART
The serial ports are discussed in Chapter 9 and Chapter 10.
For examples of program code for the on-chip peripherals, see Appendix C,
Program Examples.
Topic
Page
8.1
Control of On-Chip Peripherals
8-2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.2
Clock Generator
8-4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.3
CLKOUT1-Pin Control (CLK) Register
8-7
. . . . . . . . . . . . . . . . . . . . . . . . . . .
8.4
Timer
8-8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.5
Wait-State Generator
8-14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.6
General-Purpose I/O Pins
8-17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 8