📄 configsmpspwmfault2.c
字号:
#if defined(__dsPIC30F__)
#include <p30fxxxx.h>
#elif defined(__dsPIC33F__)
#include <p33Fxxxx.h>
#endif
#include "smpspwm.h"
#ifdef _PSEMIF
/*************************************************************************
* Function Name : ConfigSmpsPWMFault2
* Description : This function configures the different PWM2 pair faults by writing
* into the FCLCON2 register. The current limit control signal and Fault
* control signal sources the generation of fault.
* Parameters : unsigned int config1
* Return Value : None
**************************************************************************/
void ConfigSmpsPWMFault2(unsigned int config1)
{
FCLCON2 = config1 ;
}
#else
#warning "Does not build on this target"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -