Pulse Width Modulator (PWM)
Description:
Masks the specified interrupt(s) by clearing the specified bits of the interrupt enable register for
the selected PWM module.
Returns:
None.
15.2.1.20 ROM_PWMIntEnable
Enables generator and fault interrupts for a PWM module.
Prototype:
void
ROM_PWMIntEnable(uint32_t ui32Base,
uint32_t ui32GenFault)
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_PWMIntEnable is a function pointer located at ROM_PWMTABLE[18].
Parameters:
ui32Base is the base address of the PWM module.
ui32GenFault contains the interrupts to be enabled. Must be a logical OR of
any 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, or PWM_INT_FAULT3.
Description:
Unmasks the specified interrupt(s) by setting the specified bits of the interrupt enable register
for the selected PWM module.
Returns:
None.
15.2.1.21 ROM_PWMIntStatus
Gets the interrupt status for a PWM module.
Prototype:
uint32_t
ROM_PWMIntStatus(uint32_t ui32Base,
bool bMasked)
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_PWMIntStatus is a function pointer located at ROM_PWMTABLE[21].
Parameters:
ui32Base is the base address of the PWM module.
bMasked specifies whether masked or raw interrupt status is returned.
168 April 8, 2013