English
Language : 

MC9S08RC8 Datasheet, PDF (11/234 Pages) Freescale Semiconductor, Inc – Microcontrollers
Section Number
Title
Page
Chapter 9
Keyboard Interrupt (S08KBIV1)
9.1 Introduction ...................................................................................................................................123
9.2 KBI Block Diagram ......................................................................................................................125
9.3 Keyboard Interrupt (KBI) Module ................................................................................................125
9.3.1 Pin Enables ...................................................................................................................125
9.3.2 Edge and Level Sensitivity ...........................................................................................125
9.3.3 KBI Interrupt Controls .................................................................................................126
9.4 KBI Registers and Control Bits .....................................................................................................126
9.4.1 KBI x Status and Control Register (KBIxSC) ..............................................................127
9.4.2 KBI x Pin Enable Register (KBIxPE) ..........................................................................128
Chapter 10
Timer/PWM Module (S08TPMV1)
10.1 Introduction ...................................................................................................................................129
10.2 Features .........................................................................................................................................129
10.3 TPM Block Diagram .....................................................................................................................131
10.4 Pin Descriptions ............................................................................................................................132
10.4.1 External TPM Clock Sources .......................................................................................132
10.4.2 TPM1CHn — TPM1 Channel n I/O Pins .....................................................................132
10.5 Functional Description ..................................................................................................................132
10.5.1 Counter .........................................................................................................................133
10.5.2 Channel Mode Selection ...............................................................................................134
10.5.2.1 Input Capture Mode ......................................................................................134
10.5.2.2 Output Compare Mode .................................................................................134
10.5.2.3 Edge-Aligned PWM Mode ...........................................................................134
10.5.3 Center-Aligned PWM Mode ........................................................................................135
10.6 TPM Interrupts ..............................................................................................................................137
10.6.1 Clearing Timer Interrupt Flags .....................................................................................137
10.6.2 Timer Overflow Interrupt Description ..........................................................................137
10.6.3 Channel Event Interrupt Description ............................................................................137
10.6.4 PWM End-of-Duty-Cycle Events .................................................................................138
10.7 TPM Registers and Control Bits ...................................................................................................138
10.7.1 Timer Status and Control Register (TPM1SC) .............................................................139
10.7.2 Timer Counter Registers (TPM1CNTH:TPM1CNTL) ................................................140
10.7.3 Timer Counter Modulo Registers (TPM1MODH:TPM1MODL) ................................141
10.7.4 Timer Channel n Status and Control Register (TPM1CnSC) .......................................142
10.7.5 Timer Channel Value Registers (TPM1CnVH:TPM1CnVL) .......................................143
MC9S08RC/RD/RE/RG Data Sheet, Rev. 1.11
Freescale Semiconductor
11