Pulse Width Modulator (PWM)
bMasked specifies whether masked or raw interrupt status is returned.
Description:
If bMasked is set as true, then the masked interrupt status is returned; otherwise, the raw
interrupt status is returned.
Returns:
Returns the contents of the interrupt status register, or the contents of the raw interrupt status
register, for the specified PWM generator.
15.2.1.15 ROM_PWMGenIntTrigDisable
Disables interrupts for the specified PWM generator block.
Prototype:
void
ROM_PWMGenIntTrigDisable(uint32_t ui32Base,
uint32_t ui32Gen,
uint32_t ui32IntTrig)
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_PWMGenIntTrigDisable is a function pointer located at ROM_PWMTABLE[15].
Parameters:
ui32Base is the base address of the PWM module.
ui32Gen is the PWM generator to have interrupts and triggers disabled. Must be one of
PWM_GEN_0, PWM_GEN_1, PWM_GEN_2, or PWM_GEN_3.
ui32IntTrig specifies the interrupts and triggers to be disabled.
Description:
Masks the specified interrupt(s) and trigger(s) by clearing the specified bits of the inter-
rupt/trigger enable register for the specified PWM generator. The ui32IntTrig parameter
is the logical OR of PWM_INT_CNT_ZERO, PWM_INT_CNT_LOAD, PWM_INT_CNT_AU,
PWM_INT_CNT_AD, PWM_INT_CNT_BU, PWM_INT_CNT_BD, PWM_TR_CNT_ZERO,
PWM_TR_CNT_LOAD, PWM_TR_CNT_AU, PWM_TR_CNT_AD, PWM_TR_CNT_BU, or
PWM_TR_CNT_BD.
Returns:
None.
15.2.1.16 ROM_PWMGenIntTrigEnable
Enables interrupts and triggers for the specified PWM generator block.
Prototype:
void
ROM_PWMGenIntTrigEnable(uint32_t ui32Base,
uint32_t ui32Gen,
uint32_t ui32IntTrig)
April 8, 2013 165