route.h
来自「测量脉搏的源码 Cypress公司使用 CY27443 完成相关的功能」· C头文件 代码 · 共 51 行
H
51 行
//*****************************************************************************
//*****************************************************************************
// FILENAME: Route.h ( SCBLOCK )
// Version: 2.1, Updated on 2003/08/26 at 16:07:58
// Generated by PSoC Designer ver 4.0 b865 : 27 August, 2003
//
// DESCRIPTION: SCBLOCK User Module C Language interface file for the
// 22/24/25/26/27xxx PSoC family of devices.
//
//-----------------------------------------------------------------------------
// Copyright (c) Cypress MicroSystems 2000-2003. All Rights Reserved.
//*****************************************************************************
//*****************************************************************************
#include <M8C.h>
//-------------------------------------------------
// Constants for Route API's.
//-------------------------------------------------
#define Route_OFF 0
#define Route_LOWPOWER 1
#define Route_MEDPOWER 2
#define Route_HIGHPOWER 3
#pragma fastcall Route_Start
#pragma fastcall Route_SetPower
#pragma fastcall Route_Stop
//-------------------------------------------------
// Prototypes of the Route API.
//-------------------------------------------------
extern void Route_Start(BYTE bPower);
extern void Route_SetPower(BYTE bPower);
extern void Route_Stop(void);
//-------------------------------------------------
// Register Addresses for Route
//-------------------------------------------------
#pragma ioport Route_cr0: 0x084
BYTE Route_cr0;
#pragma ioport Route_cr1: 0x085
BYTE Route_cr1;
#pragma ioport Route_cr2: 0x086
BYTE Route_cr2;
#pragma ioport Route_cr3: 0x087
BYTE Route_cr3;
#pragma ioport Route_Comp_Ctrl: 0x000
BYTE Route_Comp_Ctrl;
// end of file Route.h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?