📄 dcr_type_3.h
字号:
//**********************************************************************************************************
// The Software is proprietary, confidential, and valuable to Realtek Semiconductor
// Corporation ("Realtek"). All rights, including but not limited to copyrights,
// patents, trademarks, trade secrets, mask work rights, and other similar rights and interests,
// are reserved to Realtek. Without prior written consent from Realtek, copying, reproduction,
// modification, distribution, or otherwise is strictly prohibited. The Software shall be
// kept strictly in confidence, and shall not be disclosed to or otherwise accessed by
// any third party. @ <2003> - <2008> The Software is provided "AS IS" without any warranty of any kind,
// express, implied, statutory or otherwise.
//**********************************************************************************************************
//----------------------------------------------------------------------------------------------------
// ID Code : DCR.h No.0000
// Update Note : //
//----------------------------------------------------------------------------------------------------
#if(_DCR_MODE == _DCR_TYPE_3)
#ifdef __DCR_TYPE_3__
//--------------------------------------------------
// Global Variables
//--------------------------------------------------
void CDcrInitial(void);
void CDcrDcr3(void);
BYTE xdata ucDcrTargetPre;
BYTE xdata ucDcrTargetPre1;
BYTE xdata ucDcrTemp;
BYTE xdata ucDcrPwm;
BYTE xdata ucDcrCnt;
WORD xdata usDcrStep;
BYTE xdata ucDcrTimer;
//BYTE xdata ucDcrCtrl = 0;
BYTE xdata ucDcrCurrentPWM = 0;
#else
//--------------------------------------------------
// Extern Global Variables
//--------------------------------------------------
extern void CDcrInitial(void);
extern void CDcrDcr3(void);
extern BYTE xdata ucDcrTargetPre;
extern BYTE xdata ucDcrTargetPre1;
extern BYTE xdata ucDcrTemp;
extern BYTE xdata ucDcrPwm;
extern BYTE xdata ucDcrCnt;
extern WORD xdata usDcrStep;
extern BYTE xdata ucDcrTimer;
//extern BYTE xdata ucDcrCtrl;
#endif //End of #ifdef __DCR_TYPE_3__
//--------------------------------------------------
// DCR of Power Status
//--------------------------------------------------
/*
#define GET_DCRWAITINGTIMEOUT() (bit)(ucDcrCtrl & _BIT0)
#define SET_DCRWAITINGTIMEOUT() (ucDcrCtrl |= _BIT0)
#define CLR_DCRWAITINGTIMEOUT() (ucDcrCtrl &= ~_BIT0)
#define GET_DCR_STATUS() ((bit)(ucDcrCtrl & _BIT1))
#define SET_DCR_STATUS() (ucDcrCtrl |= _BIT1)
#define CLR_DCR_STATUS() (ucDcrCtrl &= ~_BIT1)
#define GET_DCR_CAPTUREIMAGE() (bit)(ucDcrCtrl & _BIT7)
#define SET_DCR_CAPTUREIMAGE() (ucDcrCtrl |= _BIT7)
#define CLR_DCR_CAPTUREIMAGE() (ucDcrCtrl &= ~_BIT7)
*/
#endif // End of #if(_DCR_MODE == _DCR_TYPE_3)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -