44#include "pwm_interface.h"
65#define FAN_PWM_Initialize SCCP3_PWM_Initialize
70#define FAN_PWM_Deinitialize SCCP3_PWM_Deinitialize
75#define FAN_PWM_Enable SCCP3_PWM_Enable
80#define FAN_PWM_Disable SCCP3_PWM_Disable
85#define FAN_PWM_PeriodSet SCCP3_PWM_PeriodSet
90#define FAN_PWM_DutyCycleSet SCCP3_PWM_DutyCycleSet
95#define FAN_PWM_DeadTimeSet SCCP3_PWM_DeadTimeSet
100#define FAN_PWM_OutputModeSet SCCP3_PWM_OutputModeSet
105#define FAN_PWM_SoftwareTriggerSet SCCP3_PWM_SoftwareTriggerSet
110#define FAN_PWM_Tasks SCCP3_PWM_Tasks
115#define FAN_PWM_PWM_CallbackRegister SCCP3_PWM_CallbackRegister
This is the generated driver types header file for the PWM driver.
void SCCP3_PWM_PeriodSet(size_t periodCount)
Sets the cycle width.
void SCCP3_PWM_Callback(void)
This is the default callback with weak attribute. The user can override and implement the default cal...
void SCCP3_PWM_Disable(void)
Disables the SCCP3 module.
void SCCP3_PWM_DutyCycleSet(size_t dutyCycleCount)
Sets the ON pulse width.
void SCCP3_PWM_Enable(void)
Enables the SCCP3 module.
void SCCP3_PWM_Deinitialize(void)
Deinitializes the SCCP3 to POR values.
void SCCP3_PWM_Initialize(void)
Initializes the SCCP3 Pulse driver. This function must be called before any other SCCP3 function is c...
void SCCP3_PWM_Tasks(void)
This function is used to implement the tasks for polled implementations.
void SCCP3_PWM_SoftwareTriggerSet(void)
This function sets the manual trigger.
const struct PWM_INTERFACE FAN_PWM
Structure object of type PWM_INTERFACE with the custom name given by the user in the Melody Driver Us...
void SCCP3_PWM_CallbackRegister(void(*handler)(void))
This function can be used to override default callback and to define custom callback for SCCP3 PWM ev...
Structure containing the function pointers of PWM generator driver.