⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 prototype.h

📁 倒车雷达的原理图与源码
💻 H
字号:
/*
***************************************************************************************************
* Copyright (C),2007
* Author        : YanZhongsan
* Email         : yanzhongsan@yahoo.com.cn
* Date          : 2007-10-17
* File name     : prototype.h
* Description   : System function and gobal data prototype description
* Version       : V 1.0
* Others        : None
***************************************************************************************************
*/
#ifndef prototype_h
#define prototype_h

/***System spcial bit define for SysFlag*****/
#define SYS_BIT0        0
#define SYS_BIT1        1
#define SYS_BIT2        2
#define SYS_BIT3        3
#define SYS_BIT4        4
#define SYS_BIT5        5
#define SYS_BIT6        6
#define SYS_BIT7        7

#define Time_500ms_Bit  SYS_BIT0//500ms标志,定时器没500ms设置为1
#define Mute_Bit        SYS_BIT1//系统静音标志
#define Nag_bit         SYS_BIT2//负温标志
#define Fir_Bit         SYS_BIT3//雷达清屏标志

/****Function Prototype Description****/
void Init_WDT(void);
void Init_port(void);
void Init_timer0(void);
void Init_timer1(void);
void Init_timer2(void);
void Init_devices(void);
void KeyBoardTrade(void);
void ReadAndDisplay(void);
void ReadTempAndDisplay(void);
void ReadConvAndStore(UCHAR_8 * data_p);
void ConvertAndWrite(const UCHAR_8 * const data_p);
UCHAR_8 Updown(UCHAR_8 * const data_p,UCHAR_8 max_value,UCHAR_8 min_value);

/****Global Data Reference Description****/
extern const UCHAR_8 LED_CODE[13];
extern UCHAR_8 SysFlag;
extern UCHAR_8 SetTimeOver;

#endif

⌨️ 快捷键说明

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