📄 beep.h
字号:
//*****************************************************************************
//*****************************************************************************
// FILENAME: Beep.h
// Version: 1.2, Updated on 2006/10/26 at 11:51:45
// Generated by PSoC Designer ver 4.4 b1884 : 14 Jan, 2007
//
// DESCRIPTION: Beep 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 Beep_Stop
#pragma fastcall16 Beep_Start
#pragma fastcall16 Beep_On
#pragma fastcall16 Beep_Off
#pragma fastcall16 Beep_Switch
#pragma fastcall16 Beep_Invert
#pragma fastcall16 Beep_GetState
//-------------------------------------------------
// Constants for Beep API's.
//-------------------------------------------------
//
#define Beep_ON 1
#define Beep_OFF 0
//-------------------------------------------------
// Prototypes of the Beep API.
//-------------------------------------------------
extern void Beep_Start(void);
extern void Beep_Stop(void);
extern void Beep_On(void);
extern void Beep_Off(void);
extern void Beep_Switch(BYTE bSwitch);
extern void Beep_Invert(void);
extern BYTE Beep_GetState(void);
//-------------------------------------------------
// Define global variables.
//-------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -