English
Language : 

MC9S08GB60 Datasheet, PDF (12/290 Pages) Motorola, Inc – Microcontrollers
Section Number
Title
Page
Chapter 10
Timer/PWM (TPM) Module
10.1 Introduction ...................................................................................................................................151
10.2 Features .........................................................................................................................................151
10.3 TPM Block Diagram .....................................................................................................................153
10.4 Pin Descriptions ............................................................................................................................154
10.4.1 External TPM Clock Sources ........................................................................................154
10.4.2 TPMxCHn — TPMx Channel n I/O Pins ......................................................................154
10.5 Functional Description ..................................................................................................................154
10.5.1 Counter ..........................................................................................................................155
10.5.2 Channel Mode Selection ................................................................................................156
10.5.2.1 Input Capture Mode ......................................................................................156
10.5.2.2 Output Compare Mode .................................................................................156
10.5.2.3 Edge-Aligned PWM Mode ...........................................................................156
10.5.3 Center-Aligned PWM Mode ..........................................................................................157
10.6 TPM Interrupts ..............................................................................................................................159
10.6.1 Clearing Timer Interrupt Flags ......................................................................................159
10.6.2 Timer Overflow Interrupt Description ...........................................................................159
10.6.3 Channel Event Interrupt Description .............................................................................159
10.6.4 PWM End-of-Duty-Cycle Events ..................................................................................160
10.7 TPM Registers and Control Bits ...................................................................................................160
10.7.1 Timer x Status and Control Register (TPMxSC) ...........................................................160
10.7.2 Timer x Counter Registers (TPMxCNTH:TPMxCNTL) ..............................................162
10.7.3 Timer x Counter Modulo Registers (TPMxMODH:TPMxMODL) ..............................163
10.7.4 Timer x Channel n Status and Control Register (TPMxCnSC) .....................................163
10.7.5 Timer x Channel Value Registers (TPMxCnVH:TPMxCnVL) .....................................165
Chapter 11
Serial Communications Interface (SCI) Module
11.1 Introduction ...................................................................................................................................167
11.2 Features .........................................................................................................................................169
11.3 SCI System Description ................................................................................................................169
11.4 Baud Rate Generation ...................................................................................................................169
11.5 Transmitter Functional Description ...............................................................................................170
11.5.1 Transmitter Block Diagram ...........................................................................................170
11.5.2 Send Break and Queued Idle .........................................................................................172
11.6 Receiver Functional Description ...................................................................................................172
11.6.1 Receiver Block Diagram ................................................................................................172
11.6.2 Data Sampling Technique ..............................................................................................174
11.6.3 Receiver Wakeup Operation ..........................................................................................174
11.6.3.1 Idle-Line Wakeup ..........................................................................................175
11.6.3.2 Address-Mark Wakeup .................................................................................175
11.7 Interrupts and Status Flags ............................................................................................................175
MC9S08GB/GT Data Sheet, Rev. 2.3
12
Freescale Semiconductor