English
Language : 

MC9S08GT16A Datasheet, PDF (14/300 Pages) Freescale Semiconductor, Inc – Microcontrollers
Section Number
Title
Page
Chapter 10
Timer/PWM (S08TPMV2)
10.1 Introduction ...................................................................................................................................153
10.1.1 Features ...........................................................................................................................153
10.1.2 Features ...........................................................................................................................155
10.1.3 Block Diagram ................................................................................................................155
10.2 External Signal Description ..........................................................................................................157
10.2.1 External TPM Clock Sources ..........................................................................................157
10.2.2 TPMxCHn — TPMx Channel n I/O Pins .......................................................................157
10.3 Register Definition ........................................................................................................................157
10.3.1 Timer x Status and Control Register (TPMxSC) ............................................................158
10.3.2 Timer x Counter Registers (TPMxCNTH:TPMxCNTL) ................................................159
10.3.3 Timer x Counter Modulo Registers (TPMxMODH:TPMxMODL) ...............................160
10.3.4 Timer x Channel n Status and Control Register (TPMxCnSC) ......................................161
10.3.5 Timer x Channel Value Registers (TPMxCnVH:TPMxCnVL) ......................................162
10.4 Functional Description ..................................................................................................................163
10.4.1 Counter ............................................................................................................................163
10.4.2 Channel Mode Selection .................................................................................................164
10.4.2.1 Input Capture Mode ......................................................................................164
10.4.2.2 Output Compare Mode .................................................................................165
10.4.2.3 Edge-Aligned PWM Mode ...........................................................................165
10.4.3 Center-Aligned PWM Mode ...........................................................................................166
10.5 TPM Interrupts ..............................................................................................................................167
10.5.1 Clearing Timer Interrupt Flags .......................................................................................167
10.5.2 Timer Overflow Interrupt Description ............................................................................167
10.5.3 Channel Event Interrupt Description ..............................................................................168
10.5.4 PWM End-of-Duty-Cycle Events ...................................................................................168
Chapter 11
Serial Communications Interface (S08SCIV1)
11.1 Introduction ...................................................................................................................................169
11.1.1 Features ...........................................................................................................................171
11.1.2 Modes of Operation ........................................................................................................171
11.1.3 Block Diagram ................................................................................................................172
11.2 Register Definition ........................................................................................................................174
11.2.1 SCI Baud Rate Registers (SCIxBDH, SCIxBHL) ..........................................................174
11.2.2 SCI Control Register 1 (SCIxC1) ...................................................................................175
11.2.3 SCI Control Register 2 (SCIxC2) ...................................................................................176
11.2.4 SCI Status Register 1 (SCIxS1) ......................................................................................177
11.2.5 SCI Status Register 2 (SCIxS2) ......................................................................................179
11.2.6 SCI Control Register 3 (SCIxC3) ...................................................................................179
11.2.7 SCI Data Register (SCIxD) .............................................................................................180
MC9S08GT16A/GT8A Data Sheet, Rev. 1
14
Freescale Semiconductor