English
Language : 

MC9S08QG8 Datasheet, PDF (16/300 Pages) Freescale Semiconductor, Inc – 8-BIT HCS08 Central Processor Unit
Section Number
Title
Page
15.4 Functional Description ..................................................................................................................221
15.4.1 SPI Clock Formats ..........................................................................................................222
15.4.2 SPI Interrupts ..................................................................................................................224
15.4.3 Mode Fault Detection .....................................................................................................225
Chapter 16
Timer/Pulse-Width Modulator (S08TPMV2)
16.1 Introduction ...................................................................................................................................227
16.1.1 ACMP/TPM Configuration Information .........................................................................227
16.1.2 MTIM/TPM Configuration Information .........................................................................227
16.1.3 Block Diagram ................................................................................................................229
16.2 External Signal Description ..........................................................................................................230
16.2.1 External TPM Clock Sources ..........................................................................................230
16.2.2 TPMCHn — TPM Channel n I/O Pins ...........................................................................230
16.3 Register Definition ........................................................................................................................230
16.3.1 Timer Status and Control Register (TPMSC) .................................................................231
16.3.2 Timer Counter Registers (TPMCNTH:TPMCNTL) .......................................................232
16.3.3 Timer Counter Modulo Registers (TPMMODH:TPMMODL) ......................................233
16.3.4 Timer Channel n Status and Control Register (TPMCnSC) ...........................................234
16.3.5 Timer Channel Value Registers (TPMCnVH:TPMCnVL) .............................................235
16.4 Functional Description ..................................................................................................................236
16.4.1 Counter ............................................................................................................................236
16.4.2 Channel Mode Selection .................................................................................................237
16.4.3 Center-Aligned PWM Mode ...........................................................................................239
16.5 TPM Interrupts ..............................................................................................................................240
16.5.1 Clearing Timer Interrupt Flags .......................................................................................240
16.5.2 Timer Overflow Interrupt Description ............................................................................240
16.5.3 Channel Event Interrupt Description ..............................................................................241
16.5.4 PWM End-of-Duty-Cycle Events ...................................................................................241
Chapter 17
Development Support
17.1 Introduction ...................................................................................................................................243
17.1.1 Module Configuration .....................................................................................................243
17.2 Features .........................................................................................................................................244
17.3 Background Debug Controller (BDC) ..........................................................................................244
17.3.1 BKGD Pin Description ...................................................................................................245
17.3.2 Communication Details ..................................................................................................245
17.3.3 BDC Commands .............................................................................................................249
17.3.4 BDC Hardware Breakpoint .............................................................................................251
17.4 Registers and Control Bits .............................................................................................................252
17.4.1 BDC Registers and Control Bits .....................................................................................252
17.4.2 System Background Debug Force Reset Register (SBDFR) ..........................................254
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 1.01
16
Freescale Semiconductor