Pulse Width Modulator (PWM)
15.2.1.8 ROM_PWMGenFaultClear
Clears one or more latched fault triggers for a given PWM generator.
Prototype:
void
ROM_PWMGenFaultClear(uint32_t ui32Base,
uint32_t ui32Gen,
uint32_t ui32Group,
uint32_t ui32FaultTriggers)
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_PWMGenFaultClear is a function pointer located at ROM_PWMTABLE[28].
Parameters:
ui32Base is the base address of the PWM module.
ui32Gen is the PWM generator whose fault trigger states are being queried. Must be one of
PWM_GEN_0, PWM_GEN_1, PWM_GEN_2, or PWM_GEN_3.
ui32Group indicates the subset of faults that are being queried. This must be
PWM_FAULT_GROUP_0 or PWM_FAULT_GROUP_1.
ui32FaultTriggers is the set of fault triggers which are to be cleared.
Description:
This function allows an application to clear the fault triggers for a given PWM genera-
tor. This is only required if ROM_PWMGenConfigure() has previously been called with flag
PWM_GEN_MODE_LATCH_FAULT in parameter ui32Config.
Note:
This function is only available on devices supporting extended PWM fault handling.
Returns:
None.
15.2.1.9 ROM_PWMGenFaultConfigure
Configures the minimum fault period and fault pin senses for a given PWM generator.
Prototype:
void
ROM_PWMGenFaultConfigure(uint32_t ui32Base,
uint32_t ui32Gen,
uint32_t ui32MinFaultPeriod,
uint32_t ui32FaultSenses)
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_PWMGenFaultConfigure is a function pointer located at ROM_PWMTABLE[24].
160 April 8, 2013