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

📄 cksum.h

📁 Hitech microchip PIC C18 Compiler
💻 H
字号:
/**** These are typical settings and **** **** should be adjusted to suit those ** **** used in the --CHECKSUM option. ****/#define _OFFSET 0#define _ALGORITHM 1     // can be -4,-3,-2,-1,1,2,3,4#define _RESULT_WIDTH 2  // byte size of result#define _START 0L#define _END (_ROMSIZE - _RESULT_WIDTH - 1)/*********************************//* The data type being returned is * determined from the above settings. */#if (_RESULT_WIDTH == 1) #define _D_TYPE unsigned char#elif (_RESULT_WIDTH == 2) #define _D_TYPE unsigned int#else #define _D_TYPE unsigned long#endif// Function prototypesextern unsigned _D_TYPE cksum(void);extern const unsigned _D_TYPE _checksum0;

⌨️ 快捷键说明

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