linapi.c

来自「基于摩托罗拉(现在飞思卡尔)系列MC68HC908单片机开发车辆ECU系统!」· C语言 代码 · 共 41 行

C
41
字号
#define LINPROT_C
/******************************************************************************
*
*       Copyright (C) 2003 Motorola, Inc.
*       All Rights Reserved
*
* Filename:     $RCSfile: linapi.c,v $
* Author:       $Author: ttz778 $
* Locker:       $Locker:  $
* State:        $State: Exp $
* Revision:     $Revision: 1.0 $
*
* Functions:    LIN API realization
*
* History:      Use the RCS command log to display revision history
*               information.
*
* Description:  Some Motorola and VCT API functions realization
*
* Notes:        Realization of another API functions -- in another modules
*
******************************************************************************/

#include <linbase.h>

#if defined(LINAPI_1_0)

/***************************************************************************
 * Function :   l_ifc_ioctl_sci0
 *
 * Description: Protocol-specific functionality.
 * 
 * Returns:     depends on the operation
 *
 * Notes:       Operations:
 *  l_op_getrxerr   -- Provide the Receive Errors counter of the LIN Driver 
 *  l_op_gettxerr   -- Provide the Transmit Errors counter of the LIN Driver 
 *  l_op_clrrxerr   -- Clear the Receive Errors counter of the LIN Driver 
 *  l_op_clrtxerr   -- Clear the Transmit Errors counter of the LIN Driver 
 *  l_op_wakeup     -- Issues the LIN bus wakeup frame transmission 
 *  l_op_getidle    -- Check 揘o-Bus-Activity

⌨️ 快捷键说明

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