📄 tx_config.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 + -