EasyManuals Logo

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 #155 background imageLoading...
Page #155 background image
Pulse Width Modulator (PWM)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_PWMTABLE is an array of pointers located at ROM_APITABLE[8].
ROM_PWMDeadBandDisable is a function pointer located at ROM_PWMTABLE[8].
Parameters:
ui32Base is the base address of the PWM module.
ui32Gen is the PWM generator to modify. Must be one of PWM_GEN_0, PWM_GEN_1,
PWM_GEN_2, or PWM_GEN_3.
Description:
This function disables the dead band mode for the specified PWM generator. Doing so decou-
ples the OutA and OutB signals.
Returns:
None.
15.2.1.2 ROM_PWMDeadBandEnable
Enables the PWM dead band output, and sets the dead band delays.
Prototype:
void
ROM_PWMDeadBandEnable(uint32_t ui32Base,
uint32_t ui32Gen,
uint16_t ui16Rise,
uint16_t ui16Fall)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_PWMTABLE is an array of pointers located at ROM_APITABLE[8].
ROM_PWMDeadBandEnable is a function pointer located at ROM_PWMTABLE[7].
Parameters:
ui32Base is the base address of the PWM module.
ui32Gen is the PWM generator to modify. Must be one of PWM_GEN_0, PWM_GEN_1,
PWM_GEN_2, or PWM_GEN_3.
ui16Rise specifies the width of delay from the rising edge.
ui16Fall specifies the width of delay from the falling edge.
Description:
This function sets the dead bands for the specified PWM generator, where the dead bands
are defined as the number of PWM clock ticks from the rising or falling edge of the generator’s
OutA signal. Note that this function causes the coupling of OutB to OutA.
Returns:
None.
April 8, 2013 155

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