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 #170 background imageLoading...
Page #170 background image
Pulse Width Modulator (PWM)
Prototype:
void
ROM_PWMOutputFaultLevel(uint32_t ui32Base,
uint32_t ui32PWMOutBits,
bool bDriveHigh)
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_PWMOutputFaultLevel is a function pointer located at ROM_PWMTABLE[22].
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.
bDriveHigh determines if the signal is driven high or low during an active fault condition.
Description:
This function determines whether a PWM output pin that is suppressed in response to a
fault condition is driven high or low. The affected outputs are selected using the parameter
ui32PWMOutBits. The parameter bDriveHigh determines the output level for the pins identi-
fied by ui32PWMOutBits. If bDriveHigh is true then the selected outputs are driven high when
a fault is detected. If it is false, the pins are driven low.
In a fault condition, pins which have not been configured to be suppressed via a call to
ROM_PWMOutputFault() are unaffected by this function.
Note:
This function is available only on devices which support extended PWM fault handling.
Returns:
None.
15.2.1.24 ROM_PWMOutputInvert
Selects the inversion mode for PWM outputs.
Prototype:
void
ROM_PWMOutputInvert(uint32_t ui32Base,
uint32_t ui32PWMOutBits,
bool bInvert)
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_PWMOutputInvert is a function pointer located at ROM_PWMTABLE[12].
Parameters:
ui32Base is the base address of the PWM module.
170 April 8, 2013

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