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 #156 background imageLoading...
Page #156 background image
Pulse Width Modulator (PWM)
15.2.1.3 ROM_PWMFaultIntClear
Clears the fault interrupt for a PWM module.
Prototype:
void
ROM_PWMFaultIntClear(uint32_t ui32Base)
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_PWMFaultIntClear is a function pointer located at ROM_PWMTABLE[20].
Parameters:
ui32Base is the base address of the PWM module.
Description:
Clears the fault interrupt by writing to the appropriate bit of the interrupt status register for the
selected PWM module.
This function clears only the FAULT0 interrupt and is retained for backwards compatibility. It
is recommended that ROM_PWMFaultIntClearExt() be used instead since it supports all fault
interrupts supported on devices with and without extended PWM fault handling support.
Note:
Because there is a write buffer in the Cortex-M4 processor, it may take several clock cycles
before the interrupt source is actually cleared. Therefore, it is recommended that the interrupt
source be cleared early in the interrupt handler (as opposed to the very last action) to avoid
returning from the interrupt handler before the interrupt source is actually cleared. Failure to
do so may result in the interrupt handler being immediately reentered (because the interrupt
controller still sees the interrupt source asserted).
Returns:
None.
15.2.1.4 ROM_PWMFaultIntClearExt
Clears the fault interrupt for a PWM module.
Prototype:
void
ROM_PWMFaultIntClearExt(uint32_t ui32Base,
uint32_t ui32FaultInts)
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_PWMFaultIntClearExt is a function pointer located at ROM_PWMTABLE[23].
Parameters:
ui32Base is the base address of the PWM module.
ui32FaultInts specifies the fault interrupts to clear.
156 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