Contents-4
Chapter 6
Clock Oscillation Circuit
6.1 Overviewv .......................................................................................................... 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
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
8.5.1 Timer 3 Configuration ................................................................................. 8-9
8.5.2 Description of Timer 3 Registers .............................................................. 8-10
(1) General-purpose 8-bit timer 3 counter (TM3C) ......................................... 8-10
(2) General-purpose 8-bit timer 3 register (TM3R) ......................................... 8-10
(3) General-purpose 8-bit timer 3 control register (TM3CON) ....................... 8-10
8.5.3 Example of Timer 3-related Register Settings .......................................... 8-12
8.5.4 Timer 3 Operation ..................................................................................... 8-13
8.5.5 Timer 3 Interrupt ....................................................................................... 8-14