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

📄 slave_option.h

📁 基于FREESCALE单片机9S08DZ60的LIN从节点的应用层源代码.LIN是通过UART串口来实现的.开发环境为CODEWARRIOR FOR HC08
💻 H
字号:
/* these defines are mandatory*/
#define SLAVE
#define CW08
#define S08
#define S08DZ60

#include "lincfg.h"
#include "linmsgid.h"


/* possible values are SCI_1 for using SCI1 or SCI_2 for using SCI2 */
#define SCI_2


/* checking configuration */
/* User should not change this section */
#if !defined(SLAVE) && !defined(MASTER)
#warning"SLAVE or MASTER has not been defined. MASTER has been defined as default"
#define MASTER
#endif

#if !defined(SCI_1) && !defined(SCI_2)
#warning"SCI_1 or SCI_2 has not been defined in order to select the required SCI module. SCI1 has been selected as default"
#define SCI_1
#endif


#if !defined(S08) 
#define S08
#endif

#if !defined(CW08) 
#define CW08
#endif

#if !defined(S08AW60) 
#define S08AW60
#endif#define S08

⌨️ 快捷键说明

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