demo.h

来自「STM32 USB HID 范例 STM32_Init.c 中有Confi」· C头文件 代码 · 共 25 行

H
25
字号
/*----------------------------------------------------------------------------
 *      Name:    DEMO.H
 *      Purpose: USB HID Demo Definitions
 *      Version: V1.10
 *----------------------------------------------------------------------------
 *      This file is part of the uVision/ARM development tools.
 *      This software may only be used under the terms of a valid, current,
 *      end user licence from KEIL for a compatible version of KEIL software
 *      development tools. Nothing else gives you the right to use it.
 *
 *      Copyright (c) 2005-2007 Keil Software.
 *---------------------------------------------------------------------------*/

/* Push Button Definitions */
#define S3             0x2000                     // PC13: S3
#define S2             0x0001                     // PA0 : S2

/* HID Demo Variables */
extern BYTE   InReport;
extern BYTE   OutReport;

/* HID Demo Functions */
extern void GetInReport  (void);
extern void SetOutReport (void);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?