Freescale Semiconductor MCF51QE128RM manual Chapter Timer/Pulse-Width Modulator S08TPMV3

Models: MCF51QE128RM

1 424
Download 424 pages 63.71 Kb
Page 331
Image 331

Chapter 17

Timer/Pulse-Width Modulator (S08TPMV3)

17.1Introduction

Figure 17-1shows the MCF51QE128 Series block diagram with the TPM highlighted.

17.1.1ACMP/TPM Configuration Information

The ACMP modules can be configured to connect the output of the analog comparator to a TPM input capture channel 0 by setting the corresponding SOPT2[ACICx] bit. With ACICx set, the TPMxCH0 pin is not available externally regardless of the configuration of the TPMx module.

The ACMP1 output can be connected to TPM1CH0; The ACMP2 output can be connected to TPM2CH0.

17.1.2TPM Clock Gating

The bus clock to TPM1, TPM2, and TPM3 can be gated on and off using the SCGC1[TPMx] bits. These bits are set after any reset, which enables the bus clock to this module. To conserve power, these bits can be cleared to disable the clock to any of these modules when not in use. See Section 5.6, “Peripheral Clock Gating,” for details.

17.1.3Interrupt Vector

See Chapter 8, “Interrupt Controller (CF1_INTC),” for the TPM interrupt vector assignments.

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

331

Get the latest version from freescale.com

Page 331
Image 331
Freescale Semiconductor MCF51QE128RM manual Chapter Timer/Pulse-Width Modulator S08TPMV3, TPM Clock Gating