l_cfg.c
来自「基于摩托罗拉(现在飞思卡尔)系列MC68HC908单片机开发车辆ECU系统!」· C语言 代码 · 共 54 行
C
54 行
#define LCFG_C
/******************************************************************************
*
* Copyright (C) 2003 Motorola, Inc.
* All Rights Reserved
*
* Filename: $RCSfile: l_cfg.c,v $
* Author: $Author: ttz778 $
* Locker: $Locker: $
* State: $State: Exp $
* Revision: $Revision: 1.0 $
*
* Functions: LIN Driver internal configuration for LIN API
*
* History: Use the RCS command log to display revision history
* information.
*
* Description:
*
* Notes: This file is NOT allowed to modify by user
*
******************************************************************************/
#include <l_api.h>
/********************************************************************************************/
/********************************************************************************************/
/** Driver hardware configuration **/
/********************************************************************************************/
/********************************************************************************************/
#if defined(HC08AZ32)
/********************************************************************************************/
/* HC08AZ32 */
/********************************************************************************************/
/* LIN baud rate masks */
#define LIN_BAUDRATE_MASK 0x37u
const struct
{
unsigned int LIN_IdleTimeoutClocks; /* number of LIN_IdleClock() calls per LIN idle timeout */
unsigned char LIN_BaudRate; /* LIN baud rate setting */
} LIN_CfgConst =
{
LIN_IDLETIMEOUT,
(LIN_BAUDRATE & LIN_BAUDRATE_MASK),
};
#endif /* defined(HC08AZ32) */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?