oscope.h

来自「TDK 6521 SOC 芯片 DEMO程序」· C头文件 代码 · 共 44 行

H
44
字号
/***************************************************************************
 * 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 + =
减小字号Ctrl + -
显示快捷键?