This is the generated driver source file for PWM driver. More...
Go to the source code of this file.
Functions | |
void | PWM_Initialize (void) |
Initializes PWM module, using the given initialization data. | |
void | PWM_Deinitialize (void) |
Deinitializes the PWM to POR values. | |
void | PWM_GeneratorEOCEventCallbackRegister (void(*callback)(enum PWM_GENERATOR genNum)) |
This function can be used to override default callback PWM_GeneratorEOCEventCallback and to define custom callback for PWM EOCEvent event. | |
void | PWM_GeneratorEOCEventCallback (enum PWM_GENERATOR genNum) |
This is the default callback with weak attribute. The user can override and implement the default callback without weak attribute or can register a custom callback function using PWM_EOCEventCallbackRegister. | |
void | PWM_GeneratorTasks (enum PWM_GENERATOR intGen) |
This is a tasks function for PWM1. | |
Variables | |
static void(* | PWM_GeneratorEOCEventHandler )(enum PWM_GENERATOR genNum) = NULL |
const struct PWM_HS_INTERFACE | PWM_HS |
Structure object of type PWM_HS_INTERFACE with the custom name given by the user in the Melody Driver User interface. The default name e.g. PWM_HS can be changed by the user in the PWM user interface. This allows defining a structure with application specific name using the 'Custom Name' field. Application specific name allows the API Portability. | |
PWM Generated Driver Source File
Definition in file pwm.c.
|
static |