main.h

来自「st7单片机关于I2C总线设计的源程序,使用ST7单片机的很有用」· C头文件 代码 · 共 34 行

H
34
字号
/******************************************************************************
COPYRIGHT 2002 STMicroelectronics
Source File Name : main.h            
Group            : IPSW,CMG-IPDF
Author           : MCD Application Team
Date First Issued: 04/03/2002
********************************Documentation**********************************
General Purpose - This file contains prototypes of functions written in main.c

********************************Revision History*******************************
_______________________________________________________________________________
Date :04/03/2002                 Release:1.0         	  	    		        		      
_______________________________________________________________________________

******************************************************************************/

#ifndef MAIN
#define MAIN

void main(void);
void I2C_User_IT_Routine (void);
BOOL User_Timeout_Function(void) ;            /* Prototypes of user function */
void User_Function(void);

                       /* Declaration of all global variables used in main.c */
#define size_buff ((unsigned char) 0x0A)
#define My_Data ((unsigned char) 0x55)
#define Addr_Byte_Tx ((unsigned char) 0xA0)
#define Sub_Byte_Tx ((unsigned char) 0x50)
 
static unsigned int Timeoutcount;
                                                               
#endif  
/*** (c) 2002   STMicroelectronics *************************** END OF FILE ***/

⌨️ 快捷键说明

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