Bar Logo 4kW dsPIC33C PSFB DC-DC DA (Part-No. )
 
Content
     
Loading...
Searching...
No Matches
drv_custom_config_pwm.h
Go to the documentation of this file.
1
7#ifndef DRV_CONFIG_CUSTOM_PWM_H
8#define DRV_CONFIG_CUSTOM_PWM_H
9
10#include "pwrctrl/pwrctrl_typedef.h"
12//#include "config/macros.h"
13#include "pwm_hs/pwm.h"
14
15
54
55#endif /* DRV_MCC_CONFIG_PWM_H */
56
This is the generated driver header file for the PWM driver.
@ PWM_SEC_1
@ PWM_PRI_1
@ PWM_SEC_2
@ PWM_PRI_2
Contains public functions and defines for the MCC code extension for PWM.
static void PWM_PCI_Fault_AcceptanceCriteria(uint16_t pwmIndex, PWM_PCI_ACCEPTANCE_CRITERIA_t acpSetting)
Set PCI fault acceptance criteria.
static void PWM_PCI_Fault_TimetoTerminateAfterEvent(uint16_t pwmIndex, PWM_PCI_TERMTIME_AFTER_EVENT_t faultTerm)
Set TSYNCDIS bit to determine when PWM should stop after a fault occurs.
static void PWM_Trigger_Mode(uint16_t pwmIndex, PWM_TRIG_MODE_t trigMode)
Set source of fault PCI acceptance qualifier.
static void PWM_Swap_PWMxL_and_PWMxH(uint16_t pwmIndex, bool swapPWMH_PWML)
Enable/Disable the PWM instance output swap bit.
static void PWM_Fault_DataMode(uint16_t pwmIndex, PWM_FAULT_DATA_t faultDataMode)
Set the data mode of fault PCI.
static __inline__ void DRV_Config_Custom_PWM(void)
Contains PWM initialization that was not supported by MCC generated code.
@ PWM_PCI_TERMTIME_AFTER_EVENT_IMMEDIATE
@ PWM_FAULT_EVENT_PWML
@ PWM_PCI_ACCEPT_LATCHED
@ PWM_TRIG_MODE_RETRIGGERABLE