Datasheet

MC9S08SH32 Series Data Sheet, Rev. 2
16 Freescale Semiconductor
Section Number Title Page
15.4.3 SPI Baud Rate Register (SPIxBR).................................................................................. 231
15.4.4 SPI Status Register (SPIxS)............................................................................................ 232
15.4.5 SPI Data Register (SPIxD).............................................................................................. 233
15.5 Functional Description .................................................................................................................. 234
15.5.1 SPI Clock Formats.......................................................................................................... 234
15.5.2 SPI Interrupts .................................................................................................................. 237
15.5.3 Mode Fault Detection ..................................................................................................... 237
Chapter 16
Timer Pulse-Width Modulator (S08TPMV3)
16.1 Introduction ................................................................................................................................... 239
16.1.1 TPM Configuration Information..................................................................................... 239
16.1.2 TPM Pin Repositioning .................................................................................................. 239
16.1.3 Features........................................................................................................................... 241
16.1.4 Modes of Operation ........................................................................................................ 241
16.1.5 Block Diagram................................................................................................................ 242
16.2 Signal Description......................................................................................................................... 244
16.2.1 Detailed Signal Descriptions........................................................................................... 244
16.3 Register Definition ........................................................................................................................ 248
16.3.1 TPM Status and Control Register (TPMxSC) ................................................................ 248
16.3.2 TPM-Counter Registers (TPMxCNTH:TPMxCNTL).................................................... 249
16.3.3 TPM Counter Modulo Registers (TPMxMODH:TPMxMODL).................................... 250
16.3.4 TPM Channel n Status and Control Register (TPMxCnSC) .......................................... 251
16.3.5 TPM Channel Value Registers (TPMxCnVH:TPMxCnVL) .......................................... 253
16.4 Functional Description .................................................................................................................. 254
16.4.1 Counter............................................................................................................................ 255
16.4.2 Channel Mode Selection................................................................................................. 257
16.5 Reset Overview ............................................................................................................................. 260
16.5.1 General............................................................................................................................ 260
16.5.2 Description of Reset Operation....................................................................................... 260
16.6 Interrupts ....................................................................................................................................... 260
16.6.1 General............................................................................................................................ 260
16.6.2 Description of Interrupt Operation.................................................................................. 261
16.7 The Differences from TPM v2 to TPM v3.................................................................................... 262
Chapter 17
Development Support
17.1 Introduction ................................................................................................................................... 265
17.1.1 Forcing Active Background............................................................................................ 265
17.1.2 Features........................................................................................................................... 266
17.2 Background Debug Controller (BDC) .......................................................................................... 266
17.2.1 BKGD Pin Description ................................................................................................... 267
PRELIMINARY