linapi.c
来自「飞思卡尔车身控制技术研讨会资料 里面有LIN的主从节点源程序」· C语言 代码 · 共 36 行
C
36 行
#define LINPROT_C
/******************************************************************************
*
* Copyright (C) 2005 Freescale Semiconductor, Inc.
* All Rights Reserved
*
* Filename: linapi.c
*
* Revision:
*
* Functions: LIN API realization
*
* Description: Some Freescale 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 + -
显示快捷键?