English
Language : 

MC68HC708MP16 Datasheet, PDF (225/398 Pages) Freescale Semiconductor, Inc – Microcontrollers
Technical Data — MC68HC708MP16
Section 12. Timer Interface Module B (TIMB)
12.1 Contents
12.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
12.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
12.4 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .226
12.4.1 TIMB Counter Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . . 230
12.4.2 Input Capture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
12.4.3 Output Compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
12.4.3.1 Unbuffered Output Compare . . . . . . . . . . . . . . . . . . . . . 230
12.4.3.2 Buffered Output Compare . . . . . . . . . . . . . . . . . . . . . . .231
12.4.4 Pulse Width Modulation (PWM) . . . . . . . . . . . . . . . . . . . . 232
12.4.4.1 Unbuffered PWM Signal Generation . . . . . . . . . . . . . . . 233
12.4.4.2 Buffered PWM Signal Generation . . . . . . . . . . . . . . . . . 234
12.4.4.3 PWM Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
12.5 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .237
12.6 Wait Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
12.7 TIMB During Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . 238
12.8 I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
12.8.1 TIMB Clock Pin (PTE3/TCLKB). . . . . . . . . . . . . . . . . . . . . 238
12.8.2 TIMB Channel I/O Pins (PTE4/TCH0B:PTE7/TCH3B) . . . 239
12.9 I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
12.9.1 TIMB Status and Control Register. . . . . . . . . . . . . . . . . . . 240
12.9.2 TIMB Counter Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 242
12.9.3 TIMB Counter Modulo Registers . . . . . . . . . . . . . . . . . . . .243
12.9.4 TIMB Channel Status and Control Registers . . . . . . . . . . 244
12.9.5 TIMB Channel Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 248
MC68HC708MP16 — Rev. 3.1
Freescale Semiconductor
Timer Interface Module B (TIMB)
Technical Data
225