?? lintmr.h
字號(hào):
#ifndef LINTMR_H
#define LINTMR_H
/******************************************************************************
*
* Copyright (C) 2005 Freescale Semiconductor, Inc.
* All Rights Reserved
*
* Filename: lintmr.h
*
* Functions: Timer routins header file
*
* Description:
*
* Notes: Protocol timeouts -- only for Master node
*
******************************************************************************/
/******************************************************************************
Idle timeout processing
******************************************************************************/
#if defined(USEZEROPAGE)
#pragma DATA_SEG __SHORT_SEG ZeroSeg
#endif /* defined(USEZEROPAGE) */
extern LIN_ZPAGE LIN_WORD LIN_IdleTimeout; /* counter for idle timeout */
#if defined(USEZEROPAGE)
#pragma DATA_SEG DEFAULT
#endif /* defined(USEZEROPAGE) */
/* Set/reset Idle timeout */
#if defined (USEXGATE)
extern void XLIN_SetIdleTimeout( void );
#endif
extern void near LIN_SetIdleTimeout( void );
#if defined(MASTER)
/******************************************************************************
Protocol timeout processing
******************************************************************************/
/****************************************************************************/
/* Indexes for LIN_SetTimeout: */
/*#define LIN_TO_WAKEUPDEL 0u Wakeup timeout; */
/* 1u - MaxFrame timeout for 1 byte message; */
/* 2u - MaxFrame timeout for 2 bytes message; */
/* 3u - MaxFrame timeout for 3 bytes message; */
/* 4u - MaxFrame timeout for 4 bytes message; */
/* 5u - MaxFrame timeout for 5 bytes message; */
/* 6u - MaxFrame timeout for 6 bytes message; */
/* 7u - MaxFrame timeout for 7 bytes message; */
/* 8u - MaxFrame timeout for 8 bytes message; */
/****************************************************************************/
/******************************************************************************
Functions
******************************************************************************/
#if defined (USEXGATE)
void XLIN_SetTimeout( LIN_BYTE timeoutIndex );
void XLIN_CancelTimeout( void );
#else
void near LIN_SetTimeout( LIN_BYTE timeoutIndex );
void near LIN_CancelTimeout( void );
#endif
void near LIN_TimerInit( void );
/*****************************************************************************/
#endif /* defined(MASTER) */
#endif /* !define (LINTMR_H) */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -