
Contents - 4
5.15 Port 13 (P13) .................................................................................................................... 5-38
5.16 Port 15 (P15) .................................................................................................................... 5-39
5.17 Port 20 (P20) .................................................................................................................... 5-41
5.18 Port 21 (P21) .................................................................................................................... 5-43
Chapter 6
Clock Oscillation Circuit
6.1
Overview............................................................................................................................ 6-1
6.2
Clock Oscillation Circuit Configuration ............................................................................ 6-1
6.3
Clock Oscillation Circuit Registers.................................................................................... 6-2
6.4
OSC Oscillation Circuit .....................................................................................................6-2
6.5
XT Oscillation Circuit........................................................................................................ 6-5
6.6
PLL Circuit ........................................................................................................................ 6-7
Chapter 7
Time Base Counter (TBC)
7.1
Overview............................................................................................................................ 7-1
7.2
Time Base Counter (TBC) Configuration .......................................................................... 7-1
7.3
Time Base Counter Registers............................................................................................. 7-2
7.4
1/n Counter......................................................................................................................... 7-2
7.4.1
Description of 1/n Counter Registers ......................................................................... 7-2
(1)
TBC clock dividing counter (TBCKDV upper 8 bits) ............................................... 7-2
(2)
TBC clock divider register (TBCKDVR) .................................................................. 7-3
7.4.2
Example of 1/n Counter-related Register Settings ..................................................... 7-4
7.5
Time Base Counter (TBC) Operation ................................................................................ 7-4
Chapter 8
General-Purpose 8/16-Bit Timers
8.1
Overview............................................................................................................................ 8-1
8.2
General-Purpose 8-Bit/16-Bit Timer Configurations ......................................................... 8-1
8.3
General-Purpose 8-Bit/16-Bit Timer Registers .................................................................. 8-2
8.4
Timer 0............................................................................................................................... 8-3
8.4.1
Timer 0 Configuration ............................................................................................... 8-3
8.4.2
Description of Timer 0 Registers ............................................................................... 8-4
(1)
General-purpose 16-bit timer 0 counter (TM0C) ....................................................... 8-4
(2)
General-purpose 16-bit timer 0 register (TM0R) ....................................................... 8-4
(3)
General-purpose 16-bit timer 0 control register (TM0CON) ..................................... 8-4
8.4.3
Example of Timer 0-related Register Settings ........................................................... 8-6
8.4.4
Timer 0 Operation...................................................................................................... 8-7
8.4.5
Timer 0 Interrupt........................................................................................................ 8-8
8.5
Timer 3............................................................................................................................... 8-9