📄 setpulseoc3.c
字号:
#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include <outcompare.h>
#ifdef _OCMP3
/**************************************************************************************
Function Prototype : char SetPulseOC3(unsigned int pulse_start,unsigned int pulse_stop)
Include : outcompare.h
Description : This function configures the Output Compare main and secondary
registers (OCxR and OCxRS ) when the module is not in PWM mode.
Arguments : pulse_start - This is the value to be stored into Output Compare
Main register (OCxR).
pulse_stop - This is the value to be stored into Output Compare
Secondary register (OCxRS).
Note: For Single Compare Mode pulse_stop value is ignored.
Return Value : Returns '1' if value is loaded.Else
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -