English
Language : 

MC9S08SG8 Datasheet, PDF (16/310 Pages) Freescale Semiconductor, Inc – Microcontrollers
Section Number
Title
Page
15.5.2 SPI Interrupts ..................................................................................................................231
15.5.3 Mode Fault Detection .....................................................................................................231
Chapter 16
Timer Pulse-Width Modulator (S08TPMV2)
16.1 Introduction ...................................................................................................................................233
16.1.1 ACMP/TPM Configuration Information .........................................................................233
16.1.2 TPM Configuration Information .....................................................................................233
16.1.3 Features ...........................................................................................................................235
16.1.4 Block Diagram ................................................................................................................235
16.2 External Signal Description ..........................................................................................................237
16.2.1 External TPM Clock Sources ..........................................................................................237
16.2.2 TPMxCHn — TPMx Channel n I/O Pins .......................................................................237
16.3 Register Definition ........................................................................................................................237
16.3.1 Timer x Status and Control Register (TPMxSC) ............................................................238
16.3.2 Timer x Counter Registers (TPMxCNTH:TPMxCNTL) ................................................239
16.3.3 Timer x Counter Modulo Registers (TPMxMODH:TPMxMODL) ...............................240
16.3.4 Timer x Channel n Status and Control Register (TPMxCnSC) ......................................241
16.3.5 Timer x Channel Value Registers (TPMxCnVH:TPMxCnVL) ......................................242
16.4 Functional Description ..................................................................................................................243
16.4.1 Counter ............................................................................................................................243
16.4.2 Channel Mode Selection .................................................................................................244
16.4.3 Center-Aligned PWM Mode ...........................................................................................246
16.5 TPM Interrupts ..............................................................................................................................247
16.5.1 Clearing Timer Interrupt Flags .......................................................................................247
16.5.2 Timer Overflow Interrupt Description ............................................................................247
16.5.3 Channel Event Interrupt Description ..............................................................................248
16.5.4 PWM End-of-Duty-Cycle Events ...................................................................................248
Chapter 17
Development Support
17.1 Introduction ...................................................................................................................................249
17.1.1 Forcing Active Background ............................................................................................249
17.1.2 Features ...........................................................................................................................251
17.2 Background Debug Controller (BDC) ..........................................................................................251
17.2.1 BKGD Pin Description ...................................................................................................252
17.2.2 Communication Details ..................................................................................................253
17.2.3 BDC Commands .............................................................................................................257
17.2.4 BDC Hardware Breakpoint .............................................................................................259
17.3 On-Chip Debug System (DBG) ....................................................................................................260
17.3.1 Comparators A and B ......................................................................................................260
17.3.2 Bus Capture Information and FIFO Operation ...............................................................260
MC9S08SG8 MCU Series Data Sheet, Rev. 0
16
Freescale Semiconductor