slave_option.h

来自「LINKit for dz60 freescale code warrior」· C头文件 代码 · 共 60 行

H
60
字号
#ifndef SLAVE_OPTION_H
#define SLAVE_OPTION_H
/******************************************************************************
*                                                       
*       Copyright (C) 2007 Freescale Semiconductor, Inc.
*       All Rights Reserved								              
*														                            
* Filename:     slave_option.h                
*														                            
* Revision:      										                    
*														                            
* Functions:    LIN project configuration file
*														                            
* Description:  This file defines which SCI module shall be used 
*               for the driver. It also defines the LIN SLAVE node.  
*
* Notes:        
*
******************************************************************************/

/* these defines are mandatory and should not be changed by the user */
#define SLAVE
#define CW08
#define S08
#define S08DZ60
#define LINMSGIDH "slave.id"
#define LINCFGH "slave.cfg"


/* possible values are SCI_1 for using SCI1 or SCI_2 for using SCI2 */
//#define SCI_1
#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 SLAVE
#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_2
#endif


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

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

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

#endif /* define (SLAVE_OPTION_H) */

⌨️ 快捷键说明

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