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

📄 _main.h

📁 全自动剥线机(C语言源码+DOC文档说明)
💻 H
字号:
/* this is the main system _main.h module, all the main parameter is define here. */

/* specification */
/* this program define the following prefix as a rule */
/* p     - pointer variable
   g     - global variable
   d     - local variable
   c     - counter
   b     - bit
   lc    - local counter
   gc    - global counter
   uchar - unsigned char
   uint  - unsigned int
   ulong - unsigned long
   f     - function
   CN    - constant data     
   AD    - constant address          */
   
/* define the default rule */
#define    uchar    unsigned char
#define    uint     unsigned int
#define    ulong    unsigned long
#define    schar    signed char
#define    sint     signed int
#define    slong    signed long
   
/* define the common signal */
#define   TRUE   1
#define   FALSE  0

/* define the system constant */
#define   CN_TIMER         611  
#define   CN_TIMER1        333
#define   CN_2ms           1
#define   CN_10ms          5
#define   CN_20ms          10
#define   CN_100ms         50
#define   CN_200ms         100
#define   CN_400ms         180
#define   CN_500ms         250
#define   CN_1s            500
#define   CN_2s            1000
/*  ***  */   
#define   CN_330ms         197
#define   CN_660ms         181
#define   CN_DELAYSTR      198
#define   CN_DELAYEND      200
/*  ***  */
#define   CN_10us          3 
#define   CN_135us         45 
#define   CN_650us         145

#define   CN_FILTER        5
#define   CN_FILTER1       3  





/**************************************************************************
Edit by:
FRANK	                             		      20030910  ShenZhen
**************************************************************************/

⌨️ 快捷键说明

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