📄 led_1.h
字号:
//*****************************************************************************
//*****************************************************************************
// FILENAME: LED_1.h
// Version: 1.1, Updated on 2006/06/13 at 15:18:58
// Generated by PSoC Designer ver 4.3 b1884 : 23 June, 2006
//
// DESCRIPTION: LED_1 User Module C Language interface file
// for the (22/24/26/27/29xxx) PSoC family of devices
//-----------------------------------------------------------------------------
// Copyright (c) Cypress MicroSystems 2005. All Rights Reserved.
//*****************************************************************************
//*****************************************************************************
#include <m8c.h>
/* Create pragmas to support proper argument and return value passing */
#pragma fastcall16 LED_1_Stop
#pragma fastcall16 LED_1_Start
#pragma fastcall16 LED_1_On
#pragma fastcall16 LED_1_Off
#pragma fastcall16 LED_1_Switch
#pragma fastcall16 LED_1_Invert
#pragma fastcall16 LED_1_GetState
//-------------------------------------------------
// Constants for LED_1 API's.
//-------------------------------------------------
//
#define LED_1_ON 1
#define LED_1_OFF 0
//-------------------------------------------------
// Prototypes of the LED_1 API.
//-------------------------------------------------
extern void LED_1_Start(void);
extern void LED_1_Stop(void);
extern void LED_1_On(void);
extern void LED_1_Off(void);
extern void LED_1_Switch(BYTE bSwitch);
extern void LED_1_Invert(void);
extern BYTE LED_1_GetState(void);
//-------------------------------------------------
// Define global variables.
//-------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -