EasyManuals Logo
Home>Texas Instruments>Microcontrollers>Tiva TM4C123GH6PM

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #153 background imageLoading...
Page #153 background image
Pulse Width Modulator (PWM)
15 Pulse Width Modulator (PWM)
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
15.1 Introduction
The PWM module provides up to four instances of a PWM generator block, and an output control
block. Each generator block has two PWM output signals, which can be operated independently,
or as a pair of signals with dead band delays inserted. Each generator block also has an interrupt
output and a trigger output. The control block determines the polarity of the PWM signals, and
which signals are passed through to the pins.
Some of the features of the PWM module are:
Up to four generator blocks, each containing:
One 16-bit down or up/down counter
Two comparators
PWM generator
Dead band generator
Control block
PWM output enable
Output polarity control
Synchronization
Fault handling
Interrupt status
When discussing the various components of the PWM module, the following conventions are used:
The four generator blocks are called Gen0, Gen1, Gen2, and Gen3.
The two PWM output signals associated with each generator block are called OutA and OutB.
The eight output signals are called PWM0, PWM1, PWM2, PWM3, PWM4, PWM5, PWM6,
and PWM7.
PWM0 and PWM1 are associated with Gen0, PWM2 and PWM3 are associated with Gen1,
PWM4 and PWM5 are associated with Gen2, and PWM6 and PWM7 are associated with
Gen3.
Also, as a simplifying assumption for this API, comparator A for each generator block is used exclu-
sively to adjust the pulse width of the even numbered PWM outputs (PWM0, PWM2, PWM4, and
PWM6). In addition, comparator B is used exclusively for the odd numbered PWM outputs (PWM1,
PWM3, PWM5, and PWM7).
15.2 Functions
Functions
void ROM_PWMDeadBandDisable (uint32_t ui32Base, uint32_t ui32Gen)
April 8, 2013 153

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
BrandTexas Instruments
ModelTiva TM4C123GH6PM
CategoryMicrocontrollers
LanguageEnglish

Related product manuals