shuttle_scan.h

来自「旋转编码开关(飞梭)」· C头文件 代码 · 共 44 行

H
44
字号
/*
*******************************************************************************
*                     (c) Copyright 2008 
*                             All Rights Reserved
*
*                                   Version V1.00
*
* Product Number: 
* Compiler Tool : 
* MCU		: 
* File 		: Shuttle_Scan.h
* By   		: Tom.Yin
* Date 		: 
*******************************************************************************
*/
#ifndef __SHUTTLE_SCAN_H__
#define __SHUTTLE_SCAN_H__

/******************************************************************************
* 			                    INCLUDE FILE
*******************************************************************************
*/

/*
*******************************************************************************
*				                  GLOBAL 
*******************************************************************************
*/
#define SHUTTLE_HOLDE_STILL					0		//None Shuttle Rotate

extern unsigned char New_Shuttle_Flg;				//A new shuttle event flg
//shuttle value, positive express clockwise, negtive express anticlockwise
extern signed char Shuttle_Code;					
/*
*******************************************************************************
* 		                        FUNCTION DECLARE
*******************************************************************************
*/
void Init_Shuttle(void);
void Shuttle_Scan(void);

#endif

⌨️ 快捷键说明

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