📄 oscope.h
字号:
/***************************************************************************
* This code and information is provided "as is" without warranty of any *
* kind, either expressed or implied, including but not limited to the *
* implied warranties of merchantability and/or fitness for a particular *
* purpose. *
* *
* Copyright (C) 2005 Teridian Semiconductor Corp. All Rights Reserved. *
* *
***************************************************************************/
//**************************************************************************
// DESCRIPTION: 71M651x POWER METER - Oscilloscope output.
//
// AUTHOR: RGV
//
// HISTORY: 2004 APRIL 06; First Version.
//**************************************************************************
// File: oscope.h
//**************************************************************************
// drive a line (DIO 7, DIO PV) for use with a scope
//
#ifndef OSCOPE_H
#define OSCOPE_H 1
// debug stuff
#define OSCOPE_BIT DIO_7
#define OSCOPE_INIT DIR0 |= 0x80; DIO &= ~DIO_PV // 1 = output
#define OSCOPE_ONE OSCOPE_BIT = 1
#define OSCOPE_ZERO OSCOPE_BIT = 0
#define OSCOPE_TOGGLE OSCOPE_BIT ^= 1
#endif
/***************************************************************************
* History:
* $Log: oscope.h,v $
* Revision 1.3 2006/09/09 01:15:37 gmikef
* *** empty log message ***
*
*
* Copyright (C) 2005 Teridian Semiconductor Corp. All Rights Reserved. *
* this program is fully protected by the United States copyright *
* laws and is the property of Teridian Semiconductor Corporation. *
***************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -