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 #169 background imageLoading...
Page #169 background image
Pulse Width Modulator (PWM)
Description:
If bMasked is set as true, then the masked interrupt status is returned; otherwise, the raw
interrupt status is returned.
Returns:
The current interrupt status, enumerated as a bit field of PWM_INT_GEN_0,
PWM_INT_GEN_1, PWM_INT_GEN_2, PWM_INT_GEN_3, PWM_INT_FAULT0,
PWM_INT_FAULT1, PWM_INT_FAULT2, and PWM_INT_FAULT3.
15.2.1.22 ROM_PWMOutputFault
Specifies the state of PWM outputs in response to a fault condition.
Prototype:
void
ROM_PWMOutputFault(uint32_t ui32Base,
uint32_t ui32PWMOutBits,
bool bFaultSuppress)
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_PWMOutputFault is a function pointer located at ROM_PWMTABLE[13].
Parameters:
ui32Base is the base address of the PWM module.
ui32PWMOutBits are the PWM outputs to be modified. Must be the logical OR of
any of PWM_OUT_0_BIT, PWM_OUT_1_BIT, PWM_OUT_2_BIT, PWM_OUT_3_BIT,
PWM_OUT_4_BIT, PWM_OUT_5_BIT, PWM_OUT_6_BIT, or PWM_OUT_7_BIT.
bFaultSuppress determines if the signal is suppressed or passed through during an active
fault condition.
Description:
This function sets the fault handling characteristics of the selected PWM outputs. The outputs
are selected using the parameter ui32PWMOutBits. The parameter bFaultSuppress deter-
mines the fault handling characteristics for the selected outputs. If bFaultSuppress is true,
then the selected outputs are made inactive. If bFaultSuppress is false, then the selected
outputs are unaffected by the detected fault.
On devices supporting extended PWM fault handling, the state the affected output pins are
driven to can be configured with ROM_PWMOutputFaultLevel(). If not configured, or if the
device does not support extended PWM fault handling, affected outputs are driven low on a
fault condition.
Returns:
None.
15.2.1.23 ROM_PWMOutputFaultLevel
Specifies the level of PWM outputs suppressed in response to a fault condition.
April 8, 2013 169

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