📄 st7545.h
字号:
/*
* Copyright (c) 1995,1996,1997 by TriMedia Technologies.
*
* +------------------------------------------------------------------+
* | This software is furnished under a license and may only be used |
* | and copied in accordance with the terms and conditions of such |
* | a license and with the inclusion of this copyright notice. This |
* | software or any other copies of this software may not be provided|
* | or otherwise made available to any other person. The ownership |
* | and title of this software is not transferred. |
* | |
* | The information in this software is subject to change without |
* | any prior notice and should not be construed as a commitment by |
* | TriMedia Technologies. |
* | |
* | this code and information is provided "as is" without any |
* | warranty of any kind, either expressed or implied, including but |
* | not limited to the implied warranties of merchantability and/or |
* | fitness for any particular purpose. |
* +------------------------------------------------------------------+
*
* Module name : st7545.h 1.8
*
* Last update : 00:43:18 - 97/08/05
*/
#ifndef _ST7545_H_
#define _ST7545_H_
/*-----------------------------includes-------------------------------------*/
#include <tmlib/tmtypes.h>
#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */
/*------------------------------functions------------------------------------*/
/*****************************************************************
* When this is called, the interrupt is installed and enabled at the VIC,
* but the SSI is still disabled
* This function creates the config data and then sends it to the AFE
*/
extern tmLibdevErr_t st7545Setup( boardSSIParam_t *param );
/*****************************************************************
* st7545Term
*/
extern tmLibdevErr_t st7545Term( void );
/**************************************************************
* st7545Hook
* If P1 is True, take telephone line off hook.
* Else place it on hook.
* Return zero.
*/
extern tmLibdevErr_t st7545Hook(Bool offHook);
#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */
#endif /* st7545.h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -