English
Language : 

C508_01 Datasheet, PDF (6/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
Table of Contents
Page
5.4
Clock Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
5.5
PLL Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
5.6
Oscillator and Clock Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
6
6.1
6.1.1
6.1.2
6.1.2.1
6.1.2.2
6.1.2.3
6.1.3
6.1.3.1
6.1.3.2
6.1.4
6.1.5
6.1.6
6.2
6.2.1
6.2.1.1
6.2.1.2
6.2.1.3
6.2.1.4
6.2.1.5
6.2.2
6.2.2.1
6.2.2.2
6.2.2.3
6.2.2.4
6.2.2.5
6.3
6.3.1
6.3.2
6.3.2.1
6.3.2.2
6.3.2.3
6.3.2.4
6.3.2.5
6.3.2.6
6.3.2.7
6.3.2.8
6.3.3
6.3.3.1
On-Chip Peripheral Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Parallel I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Port Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Standard I/O Port Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Port 0 Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
Port 1, Port 3, and Port 5 Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
Port 2 Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Detailed Output Driver Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
Type B Port Driver Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
Type D Port Driver Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
Port Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13
Port Loading and Interfacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
Read-Modify-Write Feature of Ports 0 to 5 (Except Port 4) . . . . . . . . 6-15
Timers/Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16
Timer/Counter 0 and 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16
Timer/Counter 0 and 1 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-20
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-21
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-22
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-23
Timer/Counter 2 with Additional Compare/Capture/Reload . . . . . . . . 6-24
Timer 2 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-26
Timer 2 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-32
Compare Function of Registers CRC, T2CC1 to T2CC3 . . . . . . . 6-34
Using Interrupts in Combination with the Compare Function . . . . 6-41
Capture Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-43
Capture/Compare Unit (CCU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-45
General Capture/Compare Unit Operation . . . . . . . . . . . . . . . . . . . . 6-46
CAPCOM Unit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-49
CAPCOM Unit Clocking Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . 6-49
CAPCOM Unit Operating Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . 6-50
CAPCOM Unit Operating Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . 6-53
CAPCOM Unit Timing Relationships . . . . . . . . . . . . . . . . . . . . . . . 6-54
Burst Mode of CAPCOM / COMP Unit . . . . . . . . . . . . . . . . . . . . . 6-57
CAPCOM Unit in Capture Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 6-58
Trap Function of the CAPCOM Unit in Compare Mode . . . . . . . . . 6-59
CAPCOM Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-61
Compare (COMP) Unit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-78
COMP Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-79
User’s Manual
I-2
2001-05