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

📄 tx_config.h

📁 基于MC908QY4的LIN从站通信例程
💻 H
字号:
#ifndef _08QY4_LIN_TX_CONFIG
#define _08QY4_LIN_TX_CONFIG

/******************************************************************************
*
*       Copyright (C) 2003 Motorola, Inc.
*       All Rights Reserved
*
* Filename:     $RCSfile: Tx_Config.h,v $
* Author:       $Author: ttz778 $
* Locker:       $Locker:  $
* State:        $State: Exp $
* Revision:     $Revision: 1.1 $
*
* Functions:    LIN header file for driver configuration
*
* History:      Use the RCS command log to display revision history
*               information.
*
* Description:  
*
* Notes:        If needed the user can make changes to this file to change
*               which port pin is used to transmit
*
******************************************************************************/

// Tx could be any GPIO - but make sure this is the same port & bit as TxPORT and TxBIT below.
#define TxPIN			PTB_PTB2	
#define	TxPIN_DDR		DDRB_DDRB2	 
#define TxPORT			PTB    //make sure the port is the same as in TxPIN above.
#define TxBIT			2	   //make sure the bit is the same as in TxPIN above.	


#endif /* _08QY4_LIN_SLAVE_DRV */

⌨️ 快捷键说明

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